I worked with an Asp.NET web application using jQuery to create a nice, flexible, and fast user interface. I created a skeleton
<div id='title'> <h3 class='color-black h3'> Choose the career</h3> <p> </p> <p> </p> <p> </p> </div> <div id='tabbedContent' class='tabbed_content'> <div id='tabs' class='tabs'> <div class='moving_bg'> </div> </div> <div id='contentID' class='slide_content'> <div id='tabsliderID' class='tabslider'> </div> </div> </div>
Now onStart I will add some dynamically created DOM elements using jQuery. I do this by calling two js functions from the Page_Load (ASP) method, which will do all the magic. Then I will need to run some scripts (tabbedContent and iNettuts). The fact is that these scripts should only be initialized after creating the entire page, including dynamically generated content, so I CANT use $ (document) .ready, and when I use $ (window) .load, sometimes it works, and sometimes doesn't work "t.
I have been looking for it for at least two weeks and still nothing. What should I do? Shouldn't jQuery cope with these issues? and if not .. is there any workaround?
ps. Try it to work in IE7-8, Chrome 10 and FF 6
By the way, as soon as I have achieved this, I will need to make several calls to web services to get data from db. Will it affect behavior? Should I expect more headaches?
source share