David,
Naturally it doesn't work :)
if($(this).is("span.a")) would never be true, since "this" is refering
to the parent node of "span.a".
> $("span.a").parent().each(function() {
> if($(this).is("span.a")){
> var t = $(this).text();
> $(this).html(t);
> }
> });
___
try this... it keeps other embedded tags.
$("span.a").each(function() {
$(this).after($(this).html()).remove()
})
On 12/25/06, Mohsen Saboorian <[EMAIL PROTECTED]> wrote:
> Thanks Jake, but un
Mohsen Saboorian schreef:
> David,
> Naturally it doesn't work :)
>
> if($(this).is("span.a")) would never be true, since "this" is refering
> to the parent node of "span.a".
>
>
It was too easy to be true :) I thought because it was in an each loop
this referred to the elements caught by the p
> 1. the script duplicates the formsheet of "Eintragen" when you open and
> close it again and again..
Olaf,
It looks like you're returning the entire HTML document in both the
IFrame and the return from the form submit? For the form submit
(save.php) try returning only the document fragment tha
Hello,
1. Maybe I missed this, but if you don't already, you should state that
empty cells cause a "o.childNodes[0] has no properties" error (at least in
FF 2.0.0.1). So empty cells should always have at least a " " to keep
tablesorter happy.
2. Is there anyway to make the currency parser more g
Surge Mitchell wrote:
>
> Here is the call of the .load script:
> $("div#filetreescript").load("/client/secure/filetree.php");
>
What is being returned by filetree.php? Can you post a sample page
somewhere?
--
View this message in context:
http://www.nabble.com/.load%28%29-not-executing-jav
The code it is returning is:
>
> filetree = [
> ,['', 'Test Client', null, null, 'Click to show files for Test Client'
> ,[null, 'hello.jpg', '102(', '', 'Type: image/jpeg']
> ,[null, 'switched.pdf', '101(', '', 'Type: application/pdf']
> ,[null, '1159479289997.jpg', '106(', '', 'Type: image/
Hi folks,
just added the "Custom Alias" section to the plugin authoring guide. If
you don't know about this yet, check it out. Anyway, please correct or
improve it!
Link:
http://jquery.com/docs/Plugins/Authoring/#CustomAlias
--
Jörn Zaefferer
http://bassistance.de
_
I made a few minor spelling and grammar changes, but otherwise it's good.
--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
On 12/26/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
Hi folks,
just added the "Custom Alias" section to the plugin authoring guide. If
you
> just added the "Custom Alias" section to the plugin authoring guide. If
> you don't know about this yet, check it out. Anyway, please correct or
> improve it!
Nice job, Jörn. That's a handy page.
___
jQuery mailing list
discuss@jquery.com
http://jque
I have this table:
http://localhost:11000/my.JPG', 1044, 746);return
false;">Show..etc..
...etc
How do I trigger the on-click event in the first cell, first row?
--
View this message in context:
http://www.nabble.com/Trigger-on-click-event-in-first-table-cell-tf2884409.html#a8058842
Sent
This is a plugin for anyone who has an occasional need to simulate
synchronous ajax. Sync ajax locks the entire browser which is never a
good idea. This plugin can block and unblock user interaction on
demand. A demo can be found here:
http://www.malsup.com/jquery/block/
_
Mike,
Nice! I've been doing it manually, but this looks really handy. Thanks!
--Erik
On 12/26/06, Mike Alsup <[EMAIL PROTECTED]> wrote:
This is a plugin for anyone who has an occasional need to simulate
synchronous ajax. Sync ajax locks the entire browser which is never a
good idea. This p
Mike,
Nice! I've been doing it manually, but this looks really handy. Thanks!
--Erik
On 12/26/06, Mike Alsup <[EMAIL PROTECTED]> wrote:
This is a plugin for anyone who has an occasional need to simulate
synchronous ajax. Sync ajax locks the entire browser which is never a
good idea. This p
I discovered that this:
$("#photographTable tr:eq(0) td:first-child span").click();
does work. My problem was that I had to include it into the callback
function
attached to the ajax call that created the table.
--
View this message in context:
http://www.nabble.com/Trigger-on-click-event-
$("#photographTable td:first span").click() would probably work as well, and
be faster too :)
On 12/26/06, Mungbeans <[EMAIL PROTECTED]> wrote:
I discovered that this:
$("#photographTable tr:eq(0) td:first-child span").click();
does work. My problem was that I had to include it into the cal
I think it should be something like this
$('#photographTable tr:first-child td:first-child').each(function() {
$(this).click(function() {
//your code here
alert('woo ha!');
});
});
On 12/26/06, Mungbeans <[EMAIL PROTECTED]> wrote:
I have this table:
http://localhost:11000/my.JPG'
That's way more complex than need be.
By definition, the first table cell of the first row is also the first cell
in the table, so $("#photographTable td:first") should be perfectly fine.
And there's no need to run an each, as click will run fine on the jQuery
object returned by the query.
$("#p
hi all :)
i hope someone on this list can help me here, even tho
my question is not directly related to jquery (duck).
i have trouble getting my closures to work in ie:
--snip
//
// A) this doesn't work in ie (ff & opera grok it)
//
setTimeout( function( a,b,c ) { doStuff( a,b,c ) }, 100, "st
19 matches
Mail list logo