graphicpro
10-10-2003, 09:07 PM
how do i get the value of ID from a url
as in data.htm?ID=5
i just need the 5
tnx in advance
as in data.htm?ID=5
i just need the 5
tnx in advance
|
Click to See Complete Forum and Search --> : variable from url graphicpro 10-10-2003, 09:07 PM how do i get the value of ID from a url as in data.htm?ID=5 i just need the 5 tnx in advance Khalid Ali 10-10-2003, 09:26 PM line below will get the value specific to the code fragment you posted var data = (window.location.search).split("=")[1]; graphicpro 10-10-2003, 10:37 PM Khalid, thats the puppy!!! many thanks webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |