Welcome Guest [Log In] [Register]
Add Reply
Javascript search; Javascript search page,
Topic Started: May 12 2009, 02:53 PM (385 Views)
cyrus709

Alright im not as good with Javascript as i am with php :( So ill need some help.

What i am trying to do: I am trying to make a script that searches a page for a specific word, if that word is there it then will open a new tab and write what time it is.

I would also like to enter the code through the URL rather then putting it in a web page, but i can edit that part on my own later.

Can anyone help me out? :P
Therapy is expensive, poppin' bubble wrap is cheap! You choose.
Offline Profile Quote Post Goto Top
 
Mike
Member Avatar

PHP Get can be used to grab informatino like the page url and target word
XmlHttp can be used to open the source of the website, then
JavaScript's search function can be used to find the word
JavaScript's date object can be used to get the time
Edited by Mike, May 12 2009, 06:54 PM.
Posted ImagePosted Image
Offline Profile Quote Post Goto Top
 
cyrus709

Thanks man, i will look into this, :P I can see the connection as to how it would work.
Therapy is expensive, poppin' bubble wrap is cheap! You choose.
Offline Profile Quote Post Goto Top
 
Mike
Member Avatar

cyrus709
May 13 2009, 09:26 AM
Thanks man, i will look into this, :P I can see the connection as to how it would work.
No problem :D
Posted ImagePosted Image
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Web-Based Programming Support · Next Topic »
Add Reply

Banner and Logo by TheKeith