so-tag icon indicating copy to clipboard operation
so-tag copied to clipboard

post the data

Open amerhendy opened this issue 10 years ago • 2 comments

i work now with the code and it is sooo beutiful i understand how to change every thing but when i try to post the tags in form the input has no thing like this

<form method=post>
<input name="test" id="test">
<input type=submit>

........ in the result <?php print_r($_POST);

?>

the view is array(test=>)

amerhendy avatar Sep 30 '15 21:09 amerhendy

Hi @amerhendy Do you have a test page I can see? Or try and set up a JSFiddle at http://jsfiddle.net/ Adam

adamtester avatar Oct 01 '15 15:10 adamtester

i resolve it but not complete i add this line $('input[name=' + elem.attr("name") + ']').after(' <input type="hidden" value="' + $(this).children('.SO_result_id').html() + '" name="' + elem.attr("name") + 'result[]"›'); after this: if (elem_parent.children('#tag' + $(this).children('.SO_result_id').html()).length === 0) {

amerhendy avatar Oct 02 '15 03:10 amerhendy