2009-01-26, 05:08 PM
Hi
For my plugin
I have added
after
If I pass $post['message'] to my javascript function it is trowing error saying that URI data is too long...
For that reason I dont want to pass $post['message']; instead I want to read $post data from my php function which will run as a hook @ xmlhttp.
is there any way I can read postbit $post object in my xmlhttp hoock...
Otherwise can i store $post into other object in session to retrieve in my hook and what will be the pros and cons if i do store in session... is it advisable?
Thanks in advance..
For my plugin
I have added
<form onSubmit="LinkChecker.checkLinks(); $('pidval').value = ''; return false;">
<div id="linkchecker_{$post['pid']}">
<input type="hidden" id="pidval" value="linkchecker_{$post['pid']}"/>
Click Here to check links ::: <a href="xmlhttp.php?action=linkchecker">Here!</a><br>
</div>
</form>
after
<div class="post_body" id="pid_{$post['pid']}">
{$post['message']}
</div>
In postbit template and added respective javascript, php files...If I pass $post['message'] to my javascript function it is trowing error saying that URI data is too long...
For that reason I dont want to pass $post['message']; instead I want to read $post data from my php function which will run as a hook @ xmlhttp.
is there any way I can read postbit $post object in my xmlhttp hoock...
Otherwise can i store $post into other object in session to retrieve in my hook and what will be the pros and cons if i do store in session... is it advisable?
Thanks in advance..