corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » AJAX Geeks?


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author AJAX Geeks?
ed
Member

Registered: 10th Sep 03
User status: Offline
22nd Dec 09 at 15:29   View User's Profile U2U Member Reply With Quote

On my website I use inline editing using Javascript, JSON and PHP. You use a keyboard shortcut which launches a thickbox with a login script. On successful login the thickbox disappears and then the menus on the page are updated to give you a few options like edit, delete, set as home page and add a new page. These menus are generated using PHP functions, the same function is used by AJAX to update the menus on login.

The options on the menu launch Thickboxes so you can perform the task you want, this is done so by using an onClick even on a link referencing to a Javascript function. The functions are stored in a separate file referenced in the head of the page. When you do a full load of the function launches no problem, however when you asynchronously load the menus into the page the onClick event doesn't happen.

Have I come across some kind of browser limitation or is there a way of getting around this? Can't seem to find anything about this on Google...

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Championship Manager 03/04 MarkM Geek Day 17 1204
24th Dec 03 at 02:04
by Happy_2008
 
AJAX James Geek Day 1 138
5th Feb 07 at 01:31
by Ian
 
Ajax agree Ten Cate release Cosmo Sports Day 22 281
13th Oct 07 at 16:58
by Cosmo
 
career change - web skills 2.0? SetH Geek Day 22 248
21st Nov 07 at 20:24
by drax
 
building a new website richard_cooper Geek Day 7 1408
4th Aug 09 at 11:48
by Laney
 

Corsa Sport » Message Board » Off Day » Geek Day » AJAX Geeks? 29 database queries in 0.0062389 seconds