javascript - Changing the tabular data to another table using jquery -


i tried implement display data in table button click. trying move data table below continue table. in code, when enter input value json object , click submit button, data display in table continue button , empty table below.when click continue data in above table should move table located below continue button. here code [sample http://jsfiddle.net/e254w/6/] can please suggest idea of implement scenario?

krish

one way approach remove row first table , append second.

this line finds second row in first table, removes if exists , appends second table.

$('#datatable').find('tr').eq(1).remove().appendto($('#seconddatatable')); 

updated fiddle

updated fiddle - works me first entering 122233334444, entering 122223355552


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -