hello? Today, I have met something odd experience during developing web application based on Ruby on Rails and Jquery.
When I set some value by next code, jQuery('#branch_address').val(address_val); it seems to work as I expected. Because the value that I set by jQuery's 'val' function appear on the chrome browser and other browsers as well. <input type="text" name="branch[address]" id="branch_address" /> But when I submit the form, I got the null value from the perspective of server side. I suspect this problem could be caused by the hash array like 'brach [address]' but I can't verify the reason due to lack of my knowledge about jQuery and javascript. I expect anyone who have more experience to the jQuery and javascript than me give some tip or any guide to me to overcome this obstacle. looking forward for many knowledgeable people to consider this problem. Thanks a lot.