JQuery - Pass value to Dialog Box

Posted on 2010-01-02
Last Modified: 2012-05-08
I am new to JQuery, but basically I want a dialog box to pop up with a form in when a link is clicked. The link will somehow contain the id of the record I want to edit.
Can some one provide me with a really simple bit of code to open the dialog box and have access to id of the link which called it.
Question by:jdav357
    LVL 3

    Expert Comment

    my friend, you can you JQModal, it has everything you just talked about, you can pass arguments into it and on the button click send them back and manipulate by them.

    here is the link :
    LVL 1

    Expert Comment

    Have you had a look at jQuery UI already? It's able to do what you want it to do e.G. with its callback functions.
    LVL 1

    Accepted Solution

    I'm sorry, wrong link in the last answer:

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
    Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
    The viewer will learn how to dynamically set the form action using jQuery.
    The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now