javascript - put a value Inside name in input? -


How can I add a value (like: 5 or etc.) inside INPUT => Name on the checkbox (... name = "checkbox [hare] []" ... ...) after clicking on the jQuery button?

HTML:

  & lt; Input type = "checkbox" name = "checkbox [/ * here] /] []" & gt;   

Please give me an example

Usage .prop Because the node name is a property. ('Input: Checkbox'). ('Name', 'checkbox [' + 10 + '] [/ p>

  $ (' input: button ').]');});    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

c# - Confused over DLL entry points (entry point not found exception) -