redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Thursday 18 October 2018 19:48

Ask your IT question here

problem with variables using form input images types in IE



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> JavaScript forum
View previous topic :: View next topic  
Author Message
Kopilman
Enthusiastic Coder


Joined: 25 May 2006
Posts: 162
Hey there. I've got a little problem here. ie dosen't properly pass $_POST variables using form input images types. So I wish to use javascript onclick ability to maybe set some different post values (since I have multiple buttons on which rely my php script, I can't only submit the whole form, I need different kind of submit values)... btw, first time I actually get my hands on some javascript. If anyone could help...
Reply with quote
 
AmeliaR
Enthusiastic Coder


Joined: 31 May 2006
Posts: 142
so what is your question?
Reply with quote
 
PaulKolin
Enthusiastic Coder


Joined: 25 May 2006
Posts: 108
Kopilman, The safest solution is to give them different names, then check for the existence of name_x or name_y in the POST data. No need to throw unreliable JavaScript into the mix.
Reply with quote
 
Kopilman
Enthusiastic Coder


Joined: 25 May 2006
Posts: 162
PaulKolin, yea I tought about it but found it kinda dirty but maybe your right... more I think of it, the better it seems compared to the javascript option.
Ok, you convinced me... I'll give it a try

Reply with quote
 
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> JavaScript forum


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

© 2018 RedHo