Friday, 15 July 2011

javascript - cannot select after adding div via jQuery -



javascript - cannot select after adding div via jQuery -

this happening in ie9 , using jquery 1.4.3 (yes, know old; i'm stuck now)

i've used jquery.ajax() read html file on server , store in variable called data.

then create jquery object follows:

view = jquery(data);

then add together page:

bod = jquery('body'); bod.append(view);

it appears unable highlight/select on page, regardless if added i've described or if hard coded html.

i haven't faintest thought why.

if not bod.append(view) text hard coded html highlightable/selectable.

again, haven't faintest thought why.

here's absolutely bizarre part. if open ie developer tools , pin/unpin browser window highlightable/selectable 1 time again - stuff hard coded html , stuff added via jquery.

i need on page highlightable/selectable (position mouse pointer, left click , drag right or left click , drag left) page renders.

has faced remotely similar , did do?

javascript jquery

No comments:

Post a Comment