Hadesara
Hadesara

Reputation: 159

Postback issue after adding jquery.blockUI to aspx

The button on the page is not doing a postback after I add

<script type="text/javascript" src="scripts/jquery.blockUI.js" />

to the header of the aspx page. If I comment this line out it works. I do have the jquery.blockUI.js at that location. Any suggestions?

Upvotes: 2

Views: 497

Answers (1)

Nick Craver
Nick Craver

Reputation: 630559

You can't have self-closing <script> tags...you'll get some odd behavior and missing files you think are being loaded. Your tag should look like:

<script type="text/javascript" src="scripts/jquery.blockUI.js"></script>

Upvotes: 4

Related Questions