Page 1 of 1

Re: onLoad and onSubmit question

Posted: Tue Jan 18, 2011 10:55 am
by mayhemiz
Try to use jquery and ajax,that would work.
Here some help:

Code: Select all

function Search(str,type,from)
if (str == '') {
alert('You cannot search for nothing!');
} else {
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
	var myTD=document.getElementById('left');
This is a code what i was use =)

Re: onLoad and onSubmit question

Posted: Sat May 14, 2011 12:34 am
by Prensil
I think you can ajax to submit each answer from a row but for onload event you need to think...

Thanks & Regards,
Prensil Technologies Pvt. Ltd.
php web development company

Re: onLoad and onSubmit question

Posted: Wed Jul 06, 2011 10:32 am
by gandahar
if you dont want tu use ajax or jquery, you can use a simple form with target="myIFRAMEname" and send data via the hidden iframe to the php script, just like a normal form, but with the target targeting to the iframe :)

i use this solution in my projects