webdott
asked on
website get element code - pull text from one page to next
i want to be able to change text on one web page and have it change on another.
is there a way to do that using the GetElement javascript?
thanks
is there a way to do that using the GetElement javascript?
thanks
put the content in an hidden input or a cookie or as parameter in the url
hi, sorry, it is not possible to do it using only javacript, you will need some server side scripting.
Only exception is if the pages are on the same domain, then you can use AJAX on second page to retrieve contents of the first page, and parse it using string functions or regular expressions, to get only the part you need
Only exception is if the pages are on the same domain, then you can use AJAX on second page to retrieve contents of the first page, and parse it using string functions or regular expressions, to get only the part you need
ASKER
leakim971
can you give an example?
ludofulop
i use godaddy hosting which has AJAX as a feature.
the pages will be on the same domain, how would i do that with AJAX?
thanks
can you give an example?
ludofulop
i use godaddy hosting which has AJAX as a feature.
the pages will be on the same domain, how would i do that with AJAX?
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you
sorry for the delay. i thought i closed this out
with your answer a long time ago.
sorry for the delay. i thought i closed this out
with your answer a long time ago.