beta0x64 Posted June 23, 2010 Share Posted June 23, 2010 Sourecode: <script type="text/javascript" src="http://jqueryui.com/latest/jquery-1.4.2.js"></script> <script type="text/javascript" src="jquery.tablesorter.js"></script> <script type="text/javascript" src="jquery.table2csv.js"></script> <script type="text/javascript" src="jquery.livequery.min.js"></script> <script type="text/javascript"> // we will add our javascript code here $(document).ready(function() { $("table").addClass("tablesorter").tablesorter(); $("button").livequery("click", function() { $("td input").each(function (idx, elem) { var val = $(this).attr("value"); $(this).html(val); }); $("table").table2csv({ callback: function(csva, name) { $("<form action='gridparser.php' method='post'><input type='hidden' name='filename' value='" + name + "' /><input type='hidden' name='csv' value='" + csva + "' /></form>").appendTo('body').submit().remove(); } }); }); }); </script> if you upload a csv file, then export that csv, it gives the error: Unexpected call to method or property access. jquery-1.4.2.js, line 4075 character 5 That code is: append: function() { return this.domManip(arguments, true, function( elem ) { if ( this.nodeType === 1 ) { this.appendChild( elem ); } }); }, Any clues? I tried toying with the IE8 developer tool, but to no avail. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.