470,619 Members | 1,580 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,619 developers. It's quick & easy.

Changing image submit buttons

Hi,
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.
Eg.
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
1 1454
acoder
16,027 Expert Mod 8TB
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.

Similar topics

3 posts views Thread by Nicolas Keller | last post: by
7 posts views Thread by Michel | last post: by
3 posts views Thread by John Dunlop | last post: by
6 posts views Thread by Marek Mšnd | last post: by
4 posts views Thread by =?Utf-8?B?YzY3NjIyOA==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.