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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.