Jquery issue while retrieving textbox name from wordpress widget box -


when tried retrieve textbox name wordpress widget using jquery, shows incorrect name.this actual textbox in widget form

< input type="text" value="" name="widget-nw_widget[3][heading][]" class="widefat" >

whereas when alert name of field using jquery shows widget-nw_widget[__i__][heading][].

this jquery used getting name attribute

alert( jqry( '.widget-content #ne_container .widefat' ).attr("name") ); 


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -