File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes link from JQuery is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "link from JQuery is not working" Watch "link from JQuery is not working" New topic

link from JQuery is not working

Nicky Eng
Ranch Hand

Joined: Mar 26, 2005
Posts: 378
I have one issue which I don't understand why it cannot work.

I have a page first load data from Servlet and display in a table(inside div1). Inside the table each row I have link attached to data.

When I click on the link, the dialog (div2) is not showing up.

But if i put static data on the table and have link attached to data, i click then it works, my div2 is shown on the screen.

So am I missing something in JQuery?

Let's see my code:

Part 2:

I checked the page, it loaded with my data but from browser's page source, it doesn't have data from JQuery script at just display something like this

maybe that is why the link is not working? because of the rendered html code ?
i'm lost....

please help.

From NickyEng
Diploma in Computer Studies
SCJP 1.4
Formula 1 app by Maxis (Playbook)
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385

You are appending table rows to a div, not a table.

I agree. Here's the link:
subject: link from JQuery is not working
It's not a secret anymore!