Bane007 Posted April 12, 2012 Share Posted April 12, 2012 So, I have lost my programmer and we had a glitch and I have to fix it, and I cannot. It should be something simple, but obviously its above my head.. I've decided to 'learn' so this problem does not happen again.. So, I have a select menu, and an AJAX call to run a function, <select num1> <option value=1>1</option></select> <input type='button' unit='1' value='Buy'> and the Call to make it work $('[unit]').click( function () { linkFollow("buyunit&num="+$('[num'+$(this).attr('[b]bob[/b]')+']').val(), "div_block"); Now I can see for myself where bob should be deleted, and replaced with the value 1, but how do I get the value 1 to be there? Quote Link to comment https://forums.phpfreaks.com/topic/260803-select-option-data-grab-problem/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.