Have you looked at the javascript console for errors yet?

On Dec 28, 5:28 pm, Sahil Arora <sahilarora...@gmail.com> wrote:
> still not working
>
> On Mon, Dec 27, 2010 at 10:05 PM, Martín Mulone 
> <mulone.mar...@gmail.com>wrote:
>
>
>
>
>
>
>
>
>
> > For me this code is working, the jquery is loaded?, your source code
> > point to /hello/static/js/jquery.js this exist?. Also try  to add ";"
> > to the end of jquery sentence and change ".two" with "#b".
>
> > 2010/12/27 Sahil Arora <sahilarora...@gmail.com>:
>
> > > I have attached the source html...i amgetting no idea
> > > On Mon, Dec 27, 2010 at 7:53 PM, Luther Goh Lu Feng <elf...@yahoo.com>
> > > wrote:
>
> > >> I suggest inspecting the source to see the hhtml for the blank line.
>
> > >> On Dec 27, 9:10 pm, Sahil Arora <sahilarora...@gmail.com> wrote:
> > >> > see the attachment..
> > >> > first is before clicking on hello
> > >> > second is after clicking..
> > >> > only a blank line comes
>
> > >> > On Mon, Dec 27, 2010 at 6:32 PM, Sahil Arora
> > >> > <sahilarora...@gmail.com>wrote:
>
> > >> > > i am doing this in default/index.html page in a application which
> > >> > > extends
> > >> > > layout.html which i think includes web2py_ajax.html . So is there
> > any
> > >> > > need
> > >> > > to include any thing else.
>
> > >> > > On Mon, Dec 27, 2010 at 6:29 PM, Luther Goh Lu Feng
> > >> > > <elf...@yahoo.com>wrote:
>
> > >> > >> The syntax is correct. Is the jquery library included?
>
> > >> > >> You need to include something like
>
> > >> > >> <script
> > >> > >> src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js"></
> > >> > >> script>
>
> > >> > >> Also look at the javascript console for possible errors.
>
> > >> > >> On Dec 27, 8:21 pm, Sahil Arora <sahilarora...@gmail.com> wrote:
> > >> > >> > I tried this code to see the jquery effect.
>
> > >> > >> > <div class="one" id="a"
> > >> > >> onclick="jQuery('.two').slideToggle()">Hello</div>
> > >> > >> > <div class="two hidden" id="b">World</div>
>
> > >> > >> > but onclicking on Hello slide Toggles but nothing appears(
> > 'world'
> > >> > >> doesn't
> > >> > >> > appear).Just a blank line.
>
> > >> > >> > --
> > >> > >> > Sahil Arora
> > >> > >> > B.Tech 2nd year
> > >> > >> > Computer Science and Engineering
> > >> > >> > IIT Delhi
> > >> > >> > Contact No: +91 9871491046
>
> > >> > >> > Homepage-www.cse.iitd.ac.in/~cs1090213<http://Homepage-www.cse.iitd.ac.in/%7Ecs1090213>
> > <http://Homepage-www.cse.iitd.ac.in/%7Ecs1090213>
>
> > >> > > --
> > >> > > Sahil Arora
> > >> > > B.Tech 2nd year
> > >> > > Computer Science and Engineering
> > >> > > IIT Delhi
> > >> > > Contact No: +91 9871491046
>
> > >> > > Homepage-www.cse.iitd.ac.in/~cs1090213<http://Homepage-www.cse.iitd.ac.in/%7Ecs1090213>
> > <http://Homepage-www.cse.iitd.ac.in/%7Ecs1090213>
>
> > >> > --
> > >> > Sahil Arora
> > >> > B.Tech 2nd year
> > >> > Computer Science and Engineering
> > >> > IIT Delhi
> > >> > Contact No: +91 9871491046
> > >> > Homepage-www.cse.iitd.ac.in/~cs1090213<http://Homepage-www.cse.iitd.ac.in/%7Ecs1090213>
>
> > >> >  1.png
> > >> > 203KViewDownload
>
> > >> >  2.png
> > >> > 208KViewDownload
>
> > > --
> > > Sahil Arora
> > > B.Tech 2nd year
> > > Computer Science and Engineering
> > > IIT Delhi
> > > Contact No: +91 9871491046
> > > Homepage-www.cse.iitd.ac.in/~cs1090213<http://Homepage-www.cse.iitd.ac.in/%7Ecs1090213>
>
> > --
> > My blog:http://martin.tecnodoc.com.ar
> > My portfolio *spanish*:http://www.tecnodoc.com.ar
> > Checkout my last proyect instant-press:http://www.instant2press.com
>
> --
> Sahil Arora
> B.Tech 2nd year
> Computer Science and Engineering
> IIT Delhi
> Contact No: +91 9871491046
> Homepage-www.cse.iitd.ac.in/~cs1090213

Reply via email to