php - Creating a table using jquery - can I then populate a field automatically once the first function is done? -


I'm probably doing all this wrong but it goes here ....

I'll call A fashion function with AJAX to create table with three columns. At present, the PHP function fetches all data and creates a table that loads in a single device when the function is finished.

The third column can only be made using data from the first two columns.

Is there any way to automatically populate this column with any other AJAX calls?

(I have another PHP function which I can feed the first two variables)

Can anyone help ???

EDIT: I can not populate the fields in the first call - as it would take important time to process the function - I want to show the user populated the progress of this column. Each (function (index)) {var

  $ ('# yourtable tr'). Col1 = $ (this) .children ('td.col1') text () .; Var col2 = $ (this). Children ('td.col2'). Text (); . $ (This) .children ('td.col3') Load ('yourscript.php col1 =' '+ Col1 +' & amp; col2 = '+ col2 +'); }  

Try it


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -