Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 1.0 MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Move this topic
Forum :
Getting Started
Using jQuery
Using jQuery Plugins
Using jQuery UI
Developing jQuery Core
Developing jQuery Plugins
Developing jQuery UI
QUnit and Testing
About the jQuery Forum
jQuery Conferences
jQuery Mobile
Developing jQuery Mobile
Sub forum :
Move this topic
Cancel
Using jQuery
jkeshavab
Jquery - selector not selecting multiple checkboxes IE
in
Using jQuery
•
12 years ago
In IE, The selector for multiple inputs is not working whereas in firefox it is. Below is the html.
<td><input id="contactInfo.shippingAddress.city" name="contactInfo.shippingAddress.city" onchange="needToConfirm = true;" type="text" value="city" maxlength="100"/></td>
<td ><input id="contactInfo.shippingAddress.state" name="contactInfo.shippingAddress.state" onchange="needToConfirm = true;" type="text" value="state" maxlength="100"/></td>
<td><input id="contactInfo.shippingAddress.addressZipCode" name="contactInfo.shippingAddress.addressZipCode" onchange="needToConfirm = true;" type="text" value="123456" maxlength="10"/>
</td>
<td><select id="contactInfo.shippingAddress.country" name="contactInfo.shippingAddress.country" class="dropDown" onchange="needToConfirm = true;"></td>
and below is jquery selector used -
$("*[id^='contactInfo\\.shippingAddress']").val("");
Any thoughts as to where the problem might be.. ??
1
Replies(2)
kbwood.au
Re: Jquery - selector not selecting multiple checkboxes IE
12 years ago
This works for me in IE8. BTW you don't need the backslashes, nor the internal quotes:
$('*[id^=contactInfo.shippingAddress]')...
Leave a comment on kbwood.au's reply
n3dst4
Re: Jquery - selector not selecting multiple checkboxes IE
12 years ago
It's even fine in IE6 once you remove the backslashes.
Leave a comment on n3dst4's reply
Change topic type
Topic Type :
Discussions
Questions
Ideas
Problems
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to jkeshavab's question
Top
Reply
{"z3994989":[14737000000973831],"z2953500":[14737000000976310],"z1158863":[14737000000974703]}
Statistics
2
Replies
2179
Views
0
Followers
Tags
No tags available for this topic.
Cancel
Actions
Permalink