By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,376 Members | 1,718 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,376 IT Pros & Developers. It's quick & easy.

Changing image submit buttons

P: 7
I am totally new to Javascript and i am struggling to work with JScript.
Pls help me in this issue.

I have form with save,cancel and delete as image buttons.
My code is <input type="image" src=/image/bt_save.jpg....>

I want these image buttons to get disabled once i enter the form.
On clicking any field in form i want this image button to get enabled.
If its a normal button i was able to see enabling and disabling options.
If its a image submit button i need to change images on clicking any field in form.

Pls. help to change the image(enabling and disabling of image) once i click any field in form.
I have two images.. one disable able and next enabled image.

Pls. help.
Oct 9 '07 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
Just change the src attribute to point to the disabled image.
Oct 10 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.