Jump to content

PrateekSaxena

Members
  • Posts

    584
  • Joined

  • Last visited

Everything posted by PrateekSaxena

  1. Hi,I have a heading like "Counter Strike : First Person Shooter". Now I want the "Counter Strike" word to be in black in the "First Person Shooter" part to be in blue. How do I do this? Is there some Pseudo class or something do this??
  2. The object oriented part is very nice too! http://www.google.com/coop/cse?cx=00068528...8%3Axvj-i48acfm
  3. I think you will really like this http://developer.mozilla.org/en/docs/A_re-...n_to_JavaScriptRead the whole thing, I learned stuff that I never knew before!!!
  4. Hello thanks man. That was the stupidest thing error. Acually I was making it all on my server and then I had to upload it on the awardspace server so I forgot to change it. How did you find it out? Is there a tool that you use??
  5. Alright then it is ok. Lately I have learning nice things about JS, stuff like var allow = (age<18) ? no:yes; or for(var i in a){} Are there any other thing like this??
  6. So they aren't like global variables!right?
  7. Thanks it worked, but now I am getting a brand new error, look at this http://workbench.awardspace.com/ . After one clicks on submit, see Firebug
  8. So it considered good to use them right?? they aren't like global variables??
  9. But sometimes there is not other way to do something, or is there??
  10. I don't really understand what you are saying but do you mean something like this http://w3schools.invisionzone.com/index.ph...ost&p=52941
  11. Thanks man! This is really useful!
  12. He never posted it. I know the guy personally, he is in my schools so I know
  13. the guys is using blogger, he cant change that!
  14. Any other more detailed documents??
  15. I think his username is a proper noun and is "justsomeguy"were you trying to be funny??
  16. I am getting this error the Line 90 has xmlHttp.send("null"); uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXMLHttpRequest.send]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: file:///C:/Program%20Files/Apache%20Software%20Foundation/Apache2.2/htdocs/D6S/signup/signup.js :: doXML :: line 91" data: no] on 0 of ! This is the JS file function doXML(){ var url="signup.php" for (var i in sign.field) { var x = dgebi('div'+sign.field[i]).getElementsByTagName("input"); var other = x[0].value; if (i!=3 && i!=5) url += "&"+other; } xmlHttp=gxho(); if (xmlHttp==null){ alert ("Browser does not support HTTP Request"); return; } url+="&sid="+Math.random(); alert(url); xmlHttp.onreadystatechange=stateChanged; xmlHttp.open("GET",url,true); xmlHttp.send(null);}function stateChanged(){ if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") alert(xmlHttp.responseText);}function gxho(){ var xmlHttp=null; try{ xmlHttp=new XMLHttpRequest(); } catch (e){ try{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e){ xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } } return xmlHttp;}function dgebi(id){ return document.getElementById(id);} Could someone please tell me what the problem is??This is the same JS as given on http://www.w3schools.com/php/php_ajax_suggest.asp !
  17. I would do it in PHP/MySQL too. The reason for that may also be that I don't know ASP~
  18. I am sure that this works, but I don't want to use it till you explain me how it is actually worked! I mean don't write the whole thing, give me a link that will be able to explain what is happening!
  19. Your welcome....you can call me after 24th March
  20. hi,Well a few minutes back I found out that the String object does not have a trim method in it that would remover the trailing and starting spaces. So is there a method for the String Object that is similar to trim()?? If not please suggest what I can do get the same functionality as trim()??
  21. Hey Aryaman,As I told you before you will first have to write - <link rel="icon" type="image/png" href="http://example.com/myicon.png"> Upload a 16X16 image file somewhere like http://geocities.com and then paste the URL of the image in the HREF part of the above given code
  22. But is introduces (yet) another problem because the if the variable that was passed was a local one then on timeout I will not be able to get its value. I could save the function.callee in the array too and then try to get it....will this be possible?
  23. Nice style of writing I must say
  24. Sorry for that, I am doing to many typos these days
×
×
  • Create New...