I hope that this is simple, Im sure it is.
I am trying to change the text of a html output without loading the page.
I know you can do this using a form in this example:
[code=php]<?php printf(“<a href=”javascript: void(0);” onclick=”WriteBack(‘%s’,’%s’, wb_str);”>Apply / Finish</A>”,$_SESSION[“form_name”], $_SESSION[“field_name”]);
?>[code=html]
<script language=”JavaScript”>
<!–
function WriteBack(form_name,field_name,corrected_text)
{
opener.document[form_name][field_name].value = corrected_text;
}
–>
</script>
But to do it this way the output has to be in a form and I don’t want that. I want it to change some normal HTML text. It is also important that the text be changed via a HTML link (a href) like a get method.
[CODE]www.domainname.com/index.php?change=theChangedWord
Thanks for your time.
-ronXX