[jQuery] referencing parent window forms from thickbox window
on my main page. i have a form which users need to fill out data. i have a link on the form which opens up an iframed thickbox window. this iframed window has a form which lets users select diff data. once they select their data, i want the thickbox window to close and pass some data to the form on the main page. i used to use popup windows for this and was able to reference and update the mainpage form by using window.opener.document.formname. but with thickbox i cant seem to use window.opener any ideas on how i can get my thickbox form to reference/update the mainpage form? id appreciate any guidance you can give me about this issue.
[jQuery] noob question: loading dynamic content with .load()
im kinda a noob with some of this jquery stuff. esp the ajax stuff so any help i can get here would be greatly appreciated. i am using this code to try to load new content into my content div. $("myContentDiv").load("myScript.php?var1=x&var2=y&var3=z") myScript.php generates my new content to load into my Div. there can be anywhere from 0 to 1000 rows of data returned. sometimes myScript doesnt load correctly. even if i add a callback, the callback runs but the data doesnt load. Is it best for me to have myScript.php generate all the html and then have it loaded into myDiv or is there a better way. thx for helping this noob.
[jQuery] best way to pass parameters to .load()
is there a difference in passing parameters to .load $("#myDiv").load("myScript.php?var=x&var2=y&var3=z") vs $("#myDiv").load("myScript.php", {var:x, var2:y, var3:z}) also is there a size limit to how much .load can handle? can myScript.php return a couple hundred rows of data without issue?
[jQuery] parserError using load()
i am using the following code to load dynamic content into a div (mainContentArea) on my webpage. I occasionally get a parserError when loading the content into dom. but sometimes not. what is causing the parserError and how can I fix this? this is my jquery code: $('#mainContentArea').load('content.cfm');
[jQuery] .load not always working
i have a sidebar menu where users can click to load new data into the main part of the screen. it works most of the time but after a few clicks in the menu, the whole page just freezes and the loader stops working. it doesnt load any more data. its not specific to any page or link. it just stops after a few clicks. this is my jquery code: $(function(){ //load profile main as default $('#mainContentArea').load('profile.cfm?id=123&type=main'); //onClick load new page into main content area $('.sideBarMenu a').click(function(){ var thisPage = $(this).attr('href'); loader(thisPage); return false; }); //show loading message and call loadContent() function loader(thisPage) { $('#mainContentArea').load('/common/ loading.cfm','',loadContent(thisPage)); } // show content function loadContent(thisPage) { $('#mainContentArea').load(thisPage) } }); any ideas why my page would just freeze and load() would stop working?
[jQuery] .load not always working
i have a sidebar menu where users can click to load new data into the main part of the screen. it works most of the time but after a few clicks in the menu, the whole page just freezes and the loader stops working. it doesnt load any more data. its not specific to any page or link. it just stops after a few clicks. this is my jquery code: $(function(){ //load profile main as default $('#mainContentArea').load('profile.cfm?id=123&type=main'); //onClick load new page into main content area $('.sideBarMenu a').click(function(){ var thisPage = $(this).attr('href'); loader(thisPage); return false; }); //show loading message and call loadContent() function loader(thisPage) { $('#mainContentArea').load('/common/ loading.cfm','',loadContent(thisPage)); } // show content function loadContent(thisPage) { $('#mainContentArea').load(thisPage) } }); any ideas why my page would just freeze and load() would stop working?