PDA

View Full Version : Submitting IFRAMES when JS disabled


bhakti_thakkar
03-02-2007, 06:58 AM
hi all,
i have a registration page in which there is an iframe. i want to submit data of iframe when the user has clicked the submit button which is outside the iframe. i can do it using javascript by using holdimageframe.register.submit(); But what if the JS is disabled??? i am having an important data on the iframe which the user cannot skip. how is this done if JAVASCRIPT is diabled??:confused:

Any Ideas??

Thanks

_Aerospace_Eng_
03-02-2007, 08:39 AM
The next question would be why are you even using an iframe at all?

AaronW
03-02-2007, 03:52 PM
Yeah, and if I understand your problem correctly, the answer is simple: You can't if JS is disabled. Luckily, JS is rarely disabled. For those who have it disabled, they're probably used to dealing with things being broken.

Of course if you've managed to build something that completely fails when JS is disabled, and it's as important as you say it is, you might consider starting over.

Armondo
03-02-2007, 11:16 PM
aerospace...that is pretty cold. and he is kind of right...iframes are only really useful if you- wait...i dont think they are very useful :(

edit: do what i do, i forgot this, just make it in flash or something. that way they can't disable javascript AND it is interactive so you don't have to use a iframe if you don't want them to reload the page.