Hi Bas,
Let me advice you, I don't know why you use next().hide(); after
h5.head clicked, because when you click h5.head then next node will be
hide.
and $(this).next().insertAfter('.address'), it mean insert "next node
of $(this)" into node after '.address' (i'm not sure about this).
below is my
On 26 jan, 16:28, Nathan Klatt wrote:
> On Tue, Jan 26, 2010 at 9:27 AM, Nathan Klatt wrote:
> > newDiv = createElement("div");
> > newDiv.load("http://mydomain.dev/search/view/Id/"; + $(this).attr("id")
> > + ".html");
> > newDiv.insertAfter(".address");
>
> Whoops, be sure to turn newDiv into
try this:
jQuery(".address").after(jQuery("").load("./
index2.html"));
On Jan 26, 9:38 pm, Bas wrote:
> i'm using the following code to load some html after the fieldset:
>
> $(this).next().insertAfter('.address').load('http://mydomain.dev/
> search/view/Id/' + $(this).attr('id') + '.html');
>
3 matches
Mail list logo