Hello everyone,
In one of my projects I use simplemodal to show an ajax loaded dialog.
The HTML page loaded by the ajax call defines a javascript function
setup_dialog() that I use to initialize some functions specific to
that page. In the simplemodal callback onShow I call setup_dialog().
This
Hello everyone,
Using the simplemodal plugin I create a dialog dynamically from links
using
$(".dialog-link").live('click', function(e) {
e.preventDefault();
$.get($(this).attr('href'),function(data) {
$.modal(data,
n
a tab is selected but I would like to keep it.
Kind regards,
Michael Anckaert
Hello Karl,
Thank you for your reply. But I think you mis understand me.
I want the scripts in the page I loaded with ajax to execute, not let
my already existing scripts work with the newly loaded content.
For example:
main.html:
function test() { ... }
newpage.html:
onready function
other
Hello everyone,
I'm trying to do something that's probably trivial, but I can't get it
to work :p
My main page has a div where content gets loaded via ajax:
$('#main').load('page.html');
The file page.html has some html and javascript code, the problem is
getting the javascript from page.html
5 matches
Mail list logo