Cool. Thanks. -John
On Aug 21, 9:49 am, KeeganWatkins wrote:
> i wrote a really simple plugin for this, as i frequently have the same
> use case:
>
> jQuery.fn.outerHTML = function() {
> return jQuery("").append( jQuery(this[0]).clone() ).html();
>
> }
>
> so that i could call it on any ele
i wrote a really simple plugin for this, as i frequently have the same
use case:
jQuery.fn.outerHTML = function() {
return jQuery("").append( jQuery(this[0]).clone() ).html();
}
so that i could call it on any element, such as:
$("#fooID").outerHTML();
On Aug 19, 9:55 am, John wrote:
> Tha
That works. Really appreciate your help. -John
On Aug 18, 7:48 pm, mkmanning wrote:
> outerHTML is an IE addition to the DOM and not supported by Firefox.
> If you want to get it with jQuery just append the element to a div and
> get itshtml():
>
> $('').append( $("table:first").clone() ).html()
outerHTML is an IE addition to the DOM and not supported by Firefox.
If you want to get it with jQuery just append the element to a div and
get its html():
$('').append( $("table:first").clone() ).html()
On Aug 18, 4:37 pm, Jules wrote:
> Use DHTML property.
>
> $("table:first")[0].outerHTML
>
Use DHTML property.
$("table:first")[0].outerHTML
On Aug 19, 12:36 am, John wrote:
> Thanks, Anurag. Let me rephrase my question. For example, I can use
> the following jQuery
> to get the html source of a table element
>
> $("table:first").html()
>
> The returned html source does not include t
Thanks, Anurag. Let me rephrase my question. For example, I can use
the following jQuery
to get the html source of a table element
$("table:first").html()
The returned html source does not include the table itself, I like to
see the html source starting
from the table, for example,
..
Is
Hi John,
After setting the html by using html method you have to bind the DOM
elements using bind method.
Example:
$(".pge").bind("click", function(e){
var options = {};
$.ajax({
url: "data_retrieval.php",
cache: false,
7 matches
Mail list logo