Skip to content Skip to sidebar Skip to footer

Javascript Doesnt Work, Isnt Getting Parameters?

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.

Post a Comment for "Javascript Doesnt Work, Isnt Getting Parameters?"