Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
realtime158 #1
form variable passing
I am struggling with this what i want to do is submit the form in a center pop
up window. The submit button is a hyperlink not a button.
here is my code below thanks
<script type=text/javascript>
<!--
var win= null;
function NewWindow(myform,mypage,myname,w,h,scroll){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
var settings ='height='+h+',';
settings +='width='+w+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars='+scroll+',';
settings +='resizable=yes';
win=window.open('',myname,settings);
myform.target=myname;
if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
function MM_openBrWindow(theURL,winName,features) {
window.open('',winName,features);
}
//-->
</script>
<form name="myform" action="submit-form.php" onSubmit="return
NewWindow(myform,'','EmailInfo','700','500',scroll )">
Search: <input type='text' name='query'>
<A href="javascript:document.myform.submit()" >Submit</A>
</form>
realtime158 Guest
-
Passing Dynamic Variable In A Hidden Form
Hello: I am trying to pass a hidden variable from a form on my web application to the PayPal site for payment processing. I can get my code to... -
Passing A Form Variable
:confused; Hello all, I'm trying tu modify information that is changed by the client. I'm using the master id number in the WHERE clause of the... -
Passing form entry to URL variable
Hi, I'm on to my user administration section, and I want there to be a page where administrator enters a 'buildnumber' into a form, clicks search... -
Passing form variable
Hello, I've got a hidden field that is passed using the GET method to the next page. The field has a string value (assigned by a variable) with... -
Passing a variable to a new page's form field via hyperlink
OK, this may be impossible since I'm using 3rd party shopping cart ASP software, but I've been able to finagle a lot of other stuff I thought...



Reply With Quote

