Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26323

Re: ajax loading content

Newsgroups comp.lang.javascript
Subject Re: ajax loading content
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <m6i37b$hi5$1@speranza.aioe.org>
Date 2014-12-13 20:50 +0100
Message-ID <XnsA402D4177D795eejj99@194.109.133.133> (permalink)

Show all headers | View raw


grzessiek <grzesiek76@poczta.onet.pl> wrote on 13 dec 2014 in 
comp.lang.javascript:

> hey,
> 
> I load HTML using jquery .load().

Oh please, this NG is about Javascript proper,
please go elsewhere for this jquery crap.


> In this HTML loaded, I have a div with scroll (CSS overflow: auto).
> 
> Below that div I have a simple piece of code.
> 
> Why it does not work:
> 
> $(document).ready(function(){
> $('#ajaxLoadedDiv').scrollTop(100);
>});
> 
> and it works:
> 
> $(document).ready(function(){
> $('#ajaxLoadedDiv').html('some content');
>});
> 
> Thanks,
> g.
> 



-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

ajax loading content grzessiek <grzesiek76@poczta.onet.pl> - 2014-12-13 20:15 +0100
  Re: ajax loading content "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-12-13 20:50 +0100
  Re: ajax loading content JJ <jj4public@vfemail.net> - 2014-12-14 05:38 +0700

csiph-web