arthurakay
11-19-2008, 09:31 PM
I'm working on an application which loads my MVC views into various tabs on a single page.
Currently I only have one tab (I'm trying to get it to work before adding more). MVC is returning the source code correctly and inserting it into my tab... the HTML works fine, but the JavaScript code doesn't run. I'm doing a simple alert('test') to test it, and I'm getting nothing.
I'm new to MVC, but this is strange. If I type my URL for the view directly into the browser, things work just fine. It's only inside my tab that it doesn't work... help?
Currently I only have one tab (I'm trying to get it to work before adding more). MVC is returning the source code correctly and inserting it into my tab... the HTML works fine, but the JavaScript code doesn't run. I'm doing a simple alert('test') to test it, and I'm getting nothing.
I'm new to MVC, but this is strange. If I type my URL for the view directly into the browser, things work just fine. It's only inside my tab that it doesn't work... help?