jmansa — 2010-05-02T12:40:08-04:00 — #1
I was wandering how I could do this:
<META HTTP-EQUIV="Refresh" Content="0; URL=ajax.php?page=mypage">
Can somebody please guide me... <body onLoad> is not an option... Is there other ways?
scallioxtx — 2010-05-02T14:03:46-04:00 — #2
It's not entirely clear from your question what you're trying to achieve.
Do you want to redirect to another page (which is what the meta refresh does) or do an ajax request on load (which is what I assume your "load" function does) ?
jmansa — 2010-05-02T14:46:39-04:00 — #3
Normally I have the ajax load function with a hyperlink like this:
<a href="#" onclick="load('ajax.php?page=mypage','contentarea');return false;">
But now I want it to be a part of an redirect, caurse I have just updated my db and want to return the page...
Hope this make it easier to understand.