Jump to content

Select Option Data Grab problem


Bane007

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/260803-select-option-data-grab-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.