ed
Member
Registered: 10th Sep 03
User status: Offline
|
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...
|