[jQuery] Re: jQuery .post and.load with some PHP

2009-01-26 Thread Good Knight
;#itemList").load("lib/loadItem.php"); }else{alert(data+" -- "+id+" -- "+catList);} }); } On Jan 26, 9:24 pm, Good Knight wrote: > Okay, so I have This PHP code. > It creates a list of all the categories from database and it creates a > div

[jQuery] jQuery .post and.load with some PHP

2009-01-26 Thread Good Knight
Okay, so I have This PHP code. It creates a list of all the categories from database and it creates a div with all the items from the database. Each item is associated with a category id as to which category it is apart of. The list of categories should be clicked on and then the jQuery will run a

[jQuery] Re: Reload Part of a Page

2009-01-23 Thread Good Knight
Ahh, I see what you're saying. I got it working! Thanks! On Jan 23, 6:37 pm, Mike Alsup wrote: > > Hi. I don't think that will work. > > > The category list that creates the UL is a PHP which > > statementhttp://www.pastie.org/369269 > > > It would have to rerun that PHP script everytime the .

[jQuery] Re: Reload Part of a Page

2009-01-23 Thread Good Knight
er is in the data variable.  $("#myUL").html > (data) will do the trick assuming your data is just html like "1 li>2" > > On Jan 23, 12:46 pm, Good Knight wrote: > > > Is there an easy way to reload a section of a page? > > > I have a .post() that up

[jQuery] Reload Part of a Page

2009-01-23 Thread Good Knight
Is there an easy way to reload a section of a page? I have a .post() that updates the contents of an unordered list, but i have to refresh the page to see the new contents of the UL. Anyway to have the UL reload when the .post() goes off? I am using the Impromptu plugin to run the post, but this