Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #8837
| From | kiran <kiranmbadi@gmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Browser crashes with below code.What is wrong in below code. |
| Date | 2011-12-03 20:57 -0800 |
| Organization | http://groups.google.com |
| Message-ID | <6797273.191.1322974644678.JavaMail.geo-discussion-forums@yqnq37> (permalink) |
Hi,
All my browser are either hanging or crashing due to below code,Any ideas as what is happening.While debugging my jsp page, I narrowed down to below clone method of jquery.Also as per my understanding there are some tags in HTML5 which do not require to have end tags, does UL require end tag as per HTML5 ?.
Again I am no expert in Javascript but again trying to get my hands dirty either by reading books or trying on my own by googling here and there on net.
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Simple Test Case</title>
</head>
<body>
<ul>
<li>Test1</li>
<li>Test2</li>
<li>Test3</li>
<li>Test4</li>
<li>Test5</li>
<li>Test6</li>
</ul>
<script type="text/javascript" src="js/jquery-1.6.4.js"></script>
<script>
jQuery('ul').clone().appendTo('body');
</script>
</body>
</html>
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
Browser crashes with below code.What is wrong in below code. kiran <kiranmbadi@gmail.com> - 2011-12-03 20:57 -0800
Re: Browser crashes with below code.What is wrong in below code. kiran <kiranmbadi@gmail.com> - 2011-12-03 21:02 -0800
Re: Browser crashes with below code.What is wrong in below code. Swifty <steve.j.swift@gmail.com> - 2011-12-04 06:52 +0000
Re: Browser crashes with below code.What is wrong in below code. RobG <rgqld@iinet.net.au> - 2011-12-04 02:41 -0800
Re: Browser crashes with below code.What is wrong in below code. Arno Welzel <usenet@arnowelzel.de> - 2011-12-04 15:04 +0100
Re: Browser crashes with below code.What is wrong in below code. RobG <rgqld@iinet.net.au> - 2011-12-04 16:29 -0800
Re: Browser crashes with below code.What is wrong in below code. kiran <kiranmbadi@gmail.com> - 2011-12-05 07:06 -0800
Re: Browser crashes with below code.What is wrong in below code. RobG <rgqld@iinet.net.au> - 2011-12-05 17:49 -0800
Re: Browser crashes with below code.What is wrong in below code. Scott Sauyet <scott.sauyet@gmail.com> - 2011-12-06 05:04 -0800
Re: Browser crashes with below code.What is wrong in below code. kiran <kiranmbadi@gmail.com> - 2011-12-06 16:37 -0800
Re: Browser crashes with below code.What is wrong in below code. "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-07 08:45 +0000
Re: Browser crashes with below code.What is wrong in below code. RobG <rgqld@iinet.net.au> - 2011-12-07 04:45 -0800
Re: Browser crashes with below code.What is wrong in below code. Scott Sauyet <scott.sauyet@gmail.com> - 2011-12-07 06:38 -0800
csiph-web