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
subhaja k..
removeAttr ('disabled') is not working
in
Using jQuery
•
8 years ago
$('#imgbtnNew').click(function () $('#imgbtnsave').removeAttr ('disabled'); return false; ) Is not working. Thnks
1
Replies(10)
Sµßhrånil∂
Re: removeAttr ('disabled') is not working
8 years ago
Your script has error
You missed {} in click function
$('#imgbtnNew').click(function()
{
$('#imgbtnsave').removeAttr ('disabled'); return false;
}
);
Leave a comment on Sµßhrånil∂'s reply
jakecigar
Re: removeAttr ('disabled') is not working
8 years ago
Since jQuery 1.6 or so,
disabled is a property, not an attribute. You can use
.removeProp() | jQuery API Documentation
JΛ̊KE
subhaja k..
Re: Re: removeAttr ('disabled') is not working
8 years ago
removeProp() not working.
Leave a comment on jakecigar's reply
subhaja k..
Re: removeAttr ('disabled') is not working
8 years ago
$('#imgbtnNew').click(function()
{
$('#imgbtnsave').removeClass('aspNetdisabled');
return false;
}
);
has given .. but not working
Leave a comment on subhaja krishnan's reply
jakecigar
Re: removeAttr ('disabled') is not working
8 years ago
Please share your code in the form of a
http://jsfiddle.net
demo.
Did you
Check for errors with the dev tools?
Enclose your code in a "ready" callback?
JΛ̊KE
Leave a comment on jakecigar's reply
subhaja k..
Re: removeAttr ('disabled') is not working
8 years ago
http://jsfiddle.net/7mpqmo55/
Leave a comment on subhaja krishnan's reply
dsvick
Re: removeAttr ('disabled') is not working
8 years ago
There is nothing that runs in your fiddle ....
Is the button that is triggering the event also submitting the form? You may need to do this
$('#imgbtnNew').click(function(
e
)
{
e.preventDefault();
$('#imgbtnsave').removeClass('aspNetdisabled');
}
);
Dave
Leave a comment on dsvick's reply
jakecigar
Re: removeAttr ('disabled') is not working
8 years ago
I could have pasted your broken script too. I need to see the HTML that it doesn’t work with.
JΛ̊KE
Leave a comment on jakecigar's reply
subhaja k..
Re: removeAttr ('disabled') is not working
8 years ago
Here is he script i attached the screen shot.. after placing the e.preventDefault (); the form is re submitting again.
Attachments
20140923_105047.jpg
Size : 658.0 KB
Downloads : 255
Download
Leave a comment on subhaja krishnan's reply
jakecigar
Re: removeAttr ('disabled') is not working
8 years ago
A picture of ASP code doesn’t help. I can’t run it.
You need to build a fiddle, share a link to a demo page, or ask for help from your local microsoft facility.
JΛ̊KE
Leave a comment on jakecigar'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 subhaja krishnan's question
Top
Reply
{"z41883705":[14737000005664174,14737000005665767,14737000005665765,14737000005665769,14737000005669311],"z7734866":[14737000005666961],"z2950240":[14737000005662725,14737000005666941,14737000005666963,14737000005669314],"z4688377":[14737000005661847]}
Statistics
10
Replies
8296
Views
1
Followers
Tags
No tags available for this topic.
Cancel
Actions
Permalink