|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi, i want to use the submit button to get out of a frame, how do i do this?
<input type="submit" onclick="newWindowFunction()"> does it go something like that ? i dontknow the correct function name or syntax. i would appreciate any help on this topic. thanks Thanks in advance. |
|
#2
|
|||
|
|||
|
JavaScript is _NOT_ reliable, so don't use it too often. Try something like this:
<form target="_new"> <input type="submit"> </form> |
|
#3
|
|||
|
|||
|
Thanks for the solution...
Does this fill the current window or does it open up a new window. Also, why is javascript unreliable? |
|
#4
|
|||
|
|||
|
By default(without specifying "target"), it will be current frame. <form target="_new"> or target="_blank" will be a new window.
>>why is javascript unreliable? Many linux users tend to disable javascript due to browser crash or somethin.. In addition, since "target" can be inserted within <form>, it's somehow redundant to use javascript to perform such task. So it would be better to pick the best alternative. |
|
#5
|
|||
|
|||
|
where can i find more information regarding the "target" property?
|
|
#6
|
|||
|
|||
|
http://www.wdvl.com/Authoring/HTML/4/Tags/
|
|
#7
|
|||
|
|||
|
thanks a lot freebsd
|
|
#8
|
||||
|
||||
|
freeBSD's solution is without doubt the best solution to your problem !
In saying that.... to say that "JavaScript is _NOT_ reliable" is plain daft!~ Surfers are not reliable - true - JavaScript is reliable day in day out assuming the surfer can afford a FREE browser. Simon -(yep I know that IE & NS standards adherence is a lot unreliable - but linux browsers???? - please!!) ------------------ Simon Wheeler FirePages -DHTML/PHP/MySQL |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > frame manipulations (changing, escaping) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|