Just to clarify, the correct way would be:
$("#test").after("");
OR
$("").insertAfter("#test");
both of which say "create an (with the attributes set as shown) and
insert it after #test in the DOM"
On 5/10/07, Erik Beeson <[EMAIL PROTECTED]> wrote:
Right.
$("#test").insertAfter("");
Is
Right.
$("#test").insertAfter("");
Is the same as:
$("").after("#test");
Which is "insert #test after a newly created but not in the DOM input
node", which doesn't do anything unless you go on to add it the DOM
somehow.
--Erik
On 5/10/07, Glen Lipka <[EMAIL PROTECTED]> wrote:
This is sort
untested, but something like this?
$('#btnEnviar').before('').remove();
Jeff
On 5/10/07, Harlley Roberto <[EMAIL PROTECTED]> wrote:
Hi,
I need to do this:
$("#btnEnviar").attr("type", "button");
But accordind to my googled, I think that it's not possible on IE
http://dev.jquery.com/ticke
This is sort of strange.
$("#test").after("");
$("#test").remove();
Works in IE
$("#test").insertAfter("");
$("#test").remove();
This doesn't.
In the API it says, "Same as $("#foo").after("p")"
Im confused.
Glen
On 5/10/07, Glen Lipka <[EMAIL PROTECTED]> wrote:
What about finding the elem
What about finding the elements, and removing them, and inserting new inputs
with the right type?
$("#btnEnviar").insertAfter("");
$("#btnEnviar").remove();
Its only slightly longer, but would work in IE.
Glen
On 5/10/07, Harlley Roberto <[EMAIL PROTECTED]> wrote:
Hi,
I need to do this:
$("
5 matches
Mail list logo