Modify ↓
Ticket #3428 (closed bug: invalid)
.load and script in tag <script>
| Reported by: | allcity | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | ajax | Version: | 1.2.6 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Not working
Attachments
Change History
comment:1 in reply to: ↑ description Changed 5 years ago by brandonZ
comment:2 Changed 5 years ago by allcity
Remove the script with file test2.html to file test.html as he does not work. While other tags are working with a <script> not. Can I have something wrong week.
comment:3 Changed 5 years ago by allcity
test.html
<html> <script src=" http://code.jquery.com/jquery-latest.js"> </script> <script> $(document).ready(function() { $("#load_here").load("test2.html #test"); }); </script> <body> <div id="load_here"> </div> </body> </html>
test2.html
<html> <body> <script id="test"> alert("Hello!!!"); </script> <h1> Hello</h1> </body> </html>
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.


Open page test.html