Forums
View unanswered posts | View active topics It is currently Wed Jun 19, 2013 4:37 pm



Reply to topic  [ 3 posts ] 
 ie8 problem with textbox value. any professional here? 
Author Message

Joined: Fri Jan 20, 2012 8:08 am
Posts: 1
Post ie8 problem with textbox value. any professional here?
I made a curved submit buton with pie.htc, whenever you click button the code takes the value from the textbox,listbox
however, in IE8 the returned value is undefined. In any other browser and ant other version of IE the code works properly and
the values are retrieved. Only there s a specific problem for IE8. How can I fix this problem, any help will be appreciated, and URGENT PLEASE

$('.add_item_btn-1').bind('click', function() {


var myItem = $(this).prev('.post');

var itemVal = myItem.val();
var itemName = myItem.attr('title');

alert(itemVal);


Fri Jan 20, 2012 8:16 am
Profile

Joined: Sat Aug 21, 2010 11:12 am
Posts: 220
Post Re: ie8 problem with textbox value. any professional here?
Sorry, I'm not pro enough, but you could try Stack Overflow, the CSS3PIE questions seem to get answers quite well: http://stackoverflow.com/questions/tagged/css3pie

_________________
PIE needs more community support persons! Time is money, which means you can fund PIE development by answering support questions.


Mon Jan 23, 2012 7:55 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1401
Post Re: ie8 problem with textbox value. any professional here?
My guess is that since you're using .prev() it is matching PIE's rendering element which gets inserted as a previous-sibling. Try adjusting that so that it walks the previous siblings until it matches the selector.


Mon Jan 23, 2012 10:08 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.