R. Rajesh Jeba Anbiah wrote:
I think, there is a possible bug with jqModal. When a class is used
for trigger, different links open same ajax URL.
a href=foo1.php class=remoteFoo1/a
a href=foo2.php class=remoteFoo2/a
..
trigger: '.remote',
ajax: '@href'
...
Expected behavior:
On Feb 14, 2:52 pm, Brice Burgess [EMAIL PROTECTED] wrote:
R. Rajesh Jeba Anbiah wrote:
I think, there is a possible bug with jqModal. When a class is used
for trigger, different links open same ajax URL.
a href=foo1.php class=remoteFoo1/a
a href=foo2.php class=remoteFoo2/a
..
R. Rajesh Jeba Anbiah wrote:
snip
Now, something looks broken; URL doesn't load in modal; quickly
refreshes the window.
BTW, is there any plan to add title for the modal? say,
title: 'foo' or '@title'
So, that a href=foo.php class=remote title=Foofoo/a
can effectively be
Another thing...
If I add a button via javascript after the initial page load and .jqm()
call, how can I bind this button so that it triggers the modal?
Chris
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Chris Domigan wrote:
If I add a button via javascript after the initial page load and
.jqm() call, how can I bind this button so that it triggers the modal?
Chris,
Interesting question. There is currently no (clean) support for this
as the serialized hash is not tied to the element $.jqm()
Chris,
I am currently doing this with a link that is being create on the fly and
this is how I am doing it.
$('.edit').each(function(){
buildPanel(this);
$(this).click(function(){
return false;
});
buildPanel = function(elem){
try{