Jump to content

nickmagus

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Everything posted by nickmagus

  1. nope didn't work does this code search by the element name or its id?
  2. no it should work still because of the line: if(!d) d=document; which should set d to document if no d is given.
  3. so i have this function: function findObj(n, d) { var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } that is supposed to find objects by IDs but findObj('countrySelect') does not work for some reason.
  4. hey so i have this java script i put into my header with an addHeader function i wrote but it doesn't work the target of the script is in a table when i take it out of the table it works whats with that?
  5. great how do you get the rest i.e "/.../.../blah.php"
  6. what i want is the host value so that if there is no www i can redirect so there is one.
  7. i mean like how you can set the header with header() i want to read the header somehow.
  8. is there a way to read the entire header not just what you can read with get?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.