Use Value not random number

mlandmann's Avatar

mlandmann

29 Dec, 2013 06:51 PM

Drew, is there a wa to use the value returned via jason as the as-select- number. You routine by default assigns a number and I want it to assign the "value" return via JSON which is unique and an ID to the member I want to add (or delete). $100 donnation, if you can solve this.

  1. 1 Posted by mlandmann on 29 Dec, 2013 08:47 PM

    mlandmann's Avatar

    Drew, I got this figured out. It would be nice if you would make this another parameter. And if you want to make it unique, then prepend the asHtmlID.

    var raw_data = $(this).data("data");
    //var number = raw_data.num; Assign our Value from JSON returned, not an incrementing numnber var number =raw_data.attributes.value; // New Assignmebnt

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac