IT Community - Software Programming, Web Development and Technical Support

How do I change the forms action property?

This is a discussion on How do I change the forms action property? within the HTML, CSS and Javascript Coding Techniques forums, part of the Web Development category; How do I change the forms action property?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > HTML, CSS and Javascript Coding Techniques

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-22-2008, 07:43 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Default How do I change the forms action property?

How do I change the forms action property?
__________________
The KINGMAKER
Makes Every Thing Possible

Stuffs (My Blog)
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-14-2008, 08:16 PM
GDevakii GDevakii is offline
D-Web Sr.Programmer
 
Join Date: Aug 2007
Posts: 138
GDevakii is on a distinguished road
Smile Re: How do I change the forms action property?

<html>
<head>
<script language="JavaScript"><!--
function go(what) {
for (var i=0;i<3;i++) {
if (what.page[i].checked) {
document.forms[what.page[i].value].submit();
}
}
}
//--></script>
</head>

<body>

<form action="page1.htm" target="targetframename" name="page1"><input type="hidden" value="page1"></form>
<form action="page2.htm" target="targetframename" name="page2"><input type="hidden" value="page2"></form>
<form action="page2.htm" target="targetframename" name="page3"><input type="hidden" value="page3"></form>

<form>
Page 1: <input type="radio" name="page" value="page1">
Page 2: <input type="radio" name="page" value="page2">
Page 3: <input type="radio" name="page" value="page3">
<p>
<input type="button" onClick="go(this.form)" value="Submit">
</form>

</body>
</html>
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI checkpoint for single property vigneshgets Testing Tools 1 11-10-2007 12:11 AM
Purpose of regexp_label property and regexp_MSW_class property? Shanthi Testing Tools 1 08-10-2007 06:01 AM
How to get a file path using Flash action script? Balasubramanian.S Flash Actionscript Programming 15 04-11-2007 03:08 AM
Flash Action Script Sources djmix Flash Actionscript Programming 0 03-09-2007 03:05 AM
I want to learn action script drecko Flash Actionscript Programming 4 02-26-2007 06:19 AM


All times are GMT -7. The time now is 11:53 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0