Link to home
Start Free TrialLog in
Avatar of Bruce Gust
Bruce GustFlag for United States of America

asked on

How can I include this data into my button?

How can I include the device ID into the data that's attached to this button?

$.get("http://devtest.simplevoip.us/ajax_functions.php?fn=get_config_info&deviceId=" + elem.deviceId)
                              .done((data) => {
                                    $('button', row).data('info', data);

I need to include the "elem.deviceId" with the data that's being stuffed into the button.

How?
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bruce Gust

ASKER