We help IT Professionals succeed at work.
Get Started

AJAX, ASP and JQUERY

slightlyoff
slightlyoff asked
on
369 Views
Last Modified: 2012-05-12
I was able to do this in PHP, but for some reason, I'm struggling to do it in ASP.

I've simplified the code...  all I'm trying to do at the moment is trigger the "Hello".

The rest of my jQuery (not shown) works - if I can get it to trigger.

Thanks for your help!!!
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	
$('#form1 #submit1').click(function () {
		alert("hello!");
}
});	
</script>


<form name="form1" id="form1">
<table border="0" cellpadding="0" cellspacing="0" width="600px">
    <tr>
    	<td colspan="7" height="5px"></td>
    </tr>
    <tr>
    	<td><input type="submit" id="submit1" name="submit1" value="Next >>"/></td>
    </tr>
</table>
	<div class="loading1"></div>
    </form>

Open in new window

Comment
Watch Question
Top Expert 2011
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE