I'm using VS2010. I have javascript visible and I placed a breakpoint in a function like below:
function doShow() {
// $('#save').click(function () {
var product = { ProductName: $('!Response[0]').val(),
UnitPrice: $('#Price').val(),
alert(product);
I placed a breakpoint on the line starting with var and the line starting with Alert. VS2010 accepted the breakpoint and put a small red circle with white center there.
When I run the script the alert shows but it never stops at the breakpoint.
Any ideas what I am doing wrong. note my code is running local