Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Project funkcija - za dodavanje foundera kompanije.
- * @returnd void
- */
- window.table_rows = 1;
- function dodaj_body_members(){
- window.table_rows = window.table_rows+1;
- if(window.table_rows>10){ return false; }
- $('div.field_drzac:first').clone().attr('id',"set_polja_" + window.table_rows).appendTo("#wraper_members");
- html_novih_polja = $("#set_polja_" + window.table_rows).html();
- html_novih_polja = html_novih_polja.replace("<?php echo $lang ['bo_reg']['member'] ?> 1.","<?php echo $lang ['bo_reg']['member'] ?> " + window.table_rows + ".");
- html_novih_polja = html_novih_polja.replace("fullname1","fullname"+window.table_rows);
- html_novih_polja = html_novih_polja.replace("address1","address"+window.table_rows);
- html_novih_polja = html_novih_polja.replace("position1","position"+window.table_rows);
- $("#set_polja_" + window.table_rows).html(html_novih_polja);
- }
Add Comment
Please, Sign In to add comment