Kaiser Rahman

Greenhorn
+ Follow
since Aug 28, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kaiser Rahman

How about adding a UNIQUE constraint in the database?
I know Trigger is a way from the database. But, that wouldn't work since the ID is generated dynamically for each record which is atleast different.

When I enter same record from the UI with name, address, Phone number, the record gets added in the database without complaints. So, it creates duplicate record in the database.

How do I programmatically prevent that to happen?
Where's the JavaScript forum I can post this? Anybody knows?
How do I assign DIV ID to a Javascript variable like $('#divID=1').show();
My question is how do I assign certain DIV area to a Javascript variable?
Would you have an example of to do this with JavaScript and JQuery?

I understand this isn't JSP centric. JavaScript/JQuery nsolution would suffice.

I have a dropdown with seven items. Based on the item I choose, I want it to show specific content. But, currently, it's showing everything - all seven items contents.

How do I choose an item and show only specific content?
Thanks so much, but, would you mind providing an example of retrieving HTML blob contents for a servlet?

Best Regs.
I'm new to Servlets/JSP.

You mentioned loading to servlet, so, I have to have retriving logic from database to the servlets. And then display the content using JQuery code you stated!



Bear Bibeault wrote:Firstly, I've moved this to the HTML/JavaScript forum as there really isn't any JSP dimension to this.

Secondly, the basic syntax using jQuery and the jQuery UI dialog plugin would be something like:


If you are using your own dialog system, you'd need to adjust accordingly.

Thanks for your reply, but, can you please provide me some sort of example? Regs.
I have some mock HTML dialog popping up when I click on a link created with href. How do I direct this HREF to retrive HTML content from a database?

Please let me know. Thanks.
Yes, other HTML pages. How else can you do the same thing, so, it becomes like a popup.



Originally posted by Eric Pascarello:
What are you putting in the object and embed tags? Other html pages?

They are probably acting like frames.


Eric

When I embed HTML using <object> and <embed> tags, it creates it's own area and popup menus stays inner layer. I want the popup menu to come out and shown normally in the portal. Any ideas anyone how I can do that? Also, is it possible so that embedded text will be shown as a popup instead of embedding in the page?