The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Pass A Variable to a Jquery Modal Window

  • # October 30, 2009 at 12:13 am

    G’day Everyone

    I am not sure whether this is possible or not, but I will give it a go anyway.

    I want to pass a variable via a normal a href link (eg: page.php?tc=value), but instead of going to another php page I am trying to use a modal window to display the content based on the value of that variable.

    The a href link goes to a specific div element eg(#dialog) which then applies the mask and modal window opend so I have been trying this #dialog?tc=value but the modal window will not "activate"

    Does anyone have any ideas as to how I could get this going

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed