<br><br><div class="gmail_quote">On Wed, Mar 31, 2010 at 3:56 AM, Rohit Kalhans <span dir="ltr"><<a href="mailto:rohit.kalhans@gmail.com">rohit.kalhans@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im">On Wed, Mar 31, 2010 at 2:40 AM, Ninad Pundalik <span dir="ltr"><<a href="mailto:ninadsp16289@gmail.com" target="_blank">ninadsp16289@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
As of now, my progress in trying to paginate the contents of a table<br>
is that I have successfully written a jQuery snippet which modifies<br>
the behaviour of the '>' and '>>' buttons to make an AJAX request. I<br>
have suitably modified the output of sql.php to print only the html<br>
content of the table ( i.e. only the content generated by<br>
PMA_displayTable() ), the SQL query and the Profiling Result.<br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
However, I am right now facing issues in appending the HTML returned<br>
in the AJAX query. The moment I append the output to the DOM, the right</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> frame (frame_content) goes completely blank, and Firefox gets stuck in a</blockquote>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> 'Loading' state, while Firebug does not show any such request being made.</blockquote><div><br></div></div><div>
Thats because a JavaScript function you called somewhere is going in an infinite loop ( or may be object it is dealing with is not found, like a div tag referenced by its id). I guess its the CDATA JavaScript being sent in the response line no 3. You cannot execute the JavaScript returned in a response without using the eval function. I would suggest you use JSON as the response form for that purpose. </div>
<div class="im">
<div> </div></div></div></blockquote><div><br></div><div>forgot to tell kindly look at other places as well like line no 122 onwards for JQuery code snippets.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Could someone please tell me where I am going<br>
wrong?<br>
<br>
For reference, I've pasted the output of sql.php here:<br>
<a href="http://pastebin.org/126332" target="_blank">http://pastebin.org/126332</a><br>
<div><div></div><div><br>
Ninad S. Pundalik<br>
Twitter: @ni_nad | Identica : @ninad | <a href="http://ninadpundalik.co.cc/blog" target="_blank">http://ninadpundalik.co.cc/blog</a><br>
GPG Key Fingerprint: 2DF7 B856 C75E C9F9 0504 C0EF D456 1946 7C45 2C69<br>
<br>
------------------------------------------------------------------------------<br>
Download Intel® Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>
_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net" target="_blank">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
</div></div></blockquote></div></div><br><br clear="all"><div><div></div><div class="h5"><br>-- <br>Rohit Kalhans<br>homepage: <a href="http://rohit-kalhans.co.cc" target="_blank">http://rohit-kalhans.co.cc</a><br>BLOG: <a href="http://13lackburn.blogspot.com" target="_blank">http://13lackburn.blogspot.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Rohit Kalhans<br>homepage: <a href="http://rohit-kalhans.co.cc">http://rohit-kalhans.co.cc</a><br>BLOG: <a href="http://13lackburn.blogspot.com">http://13lackburn.blogspot.com</a><br>