I need Javascript to get a word from a page, and the page will only contain one word, probably just "yes" or "no." I need this to check if a username is already existant, and if it is then show a image in the text box. I can do the image, I just know how I can get the word from a page.
Does anybody know how to do this? Thanks!
is that page local? can you access that page using only directory without supplying http:/domain.name?
then just access it using windows/document DOM innerhtml (you have to traverse the document to reach that word)
otherwise, if the pagfe is not local, then you can't do it with javascript. even if you use cross-site scripting, most browser will block it. use any server side script like php.
I just need something to check (in the background) a variable. So basically, I want to check if a username has been registered already. I know this is possible because IPB does it without anything special.