What about:

<script type="text/javascript">
$(function(){
  $('#view50').csv2table('./data/test.csv',{
    sortable : false
  });
});
</script>

--
Ariel Flesler
http://flesler.blogspot.com

On 29 jun, 01:03, rvisco <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a tiny problem.  Instead of using a button to display the
> table, I rather have the table displayed as the HTML page is loaded.
>
> I really like this csv2table plugin:
>
> http://plugins.jquery.com/project/csv2table
>
> However, the author of this plugin is Japanese and I don't know how to
> reach him.
>
> I wonder if you can help me edit the code:
>
> <code><input disabled
>        class="btn1"
>        type    =  "button"
>        onclick="$('#view50').csv2table('./data/test.csv',{
>                     sortable : false
>                 });"
>        value="Run">
> <p>
> <div id="view50"></div>
> </p>
> </code>
>
> Instead of using a button to load the table, I rather have it loaded
> in a webpage automatically.  Can you help lead me into the right
> direction?
>
> Thanks,

Reply via email to