Does anyone know why this isn't working, combination of 2 answers today. I'm just trying to get the parameter passed to show up in alert, everything else works so ignore the url ac
Solution 1:
Should be
var dataid = $(this).data('id');
A quoted string, not just an identifier.
Share
Post a Comment
for "Javascript Doesnt Work, Isnt Getting Parameters?"
Post a Comment for "Javascript Doesnt Work, Isnt Getting Parameters?"