/    Sign up×
Community /Pin to ProfileBookmark

<input type="image"> problem in IE

I am using (“<input type=”image” src=”../pix/t/btn_assign_course.png” name=”assign” value=”Assign Course”>”) instead of
(“<input type=”submit” name=”assign” value=”Assign Course”>”).
In firefox this is working properly.But in Internet Explorer the form is not submittied properly(datas are not populated in database).
can any one solve this.

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@bathurst_guyMar 06.2006 — In your server side script, you would have to adjust it to suit the changes you've made.

Eg, at the moment it most likely is this (PHP) if(isset($_POST['assign']))

But you will need to change it to this if(isset($_
POST['assign_x']))

As when an image button is submitted - it doesnt submit the name = value, but it submits the name_x = ? and name_y = ? depending on the x and y coords where the mouse is when it clicks the button - which is the reason why this was created.
Copy linkTweet thisAlerts:
@kkvishnuauthorMar 06.2006 — thank you very much bathurst_guy.problem is solved.thanks once again
×

Success!

Help @kkvishnu spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...