Hi, I'm brand new to jQuery and learning as I go. I've searched a lot over the web regarding this and need some help. I'm trying to use a string within a load request. The code snippet is below:
var myUrl = $trigger.attr('href'); "#jqmTarget".load(myUrl +"#lightboximg") This works, but doesn't load the selected div. When I enter the following: "#jqmTarget".load("lightbox.html #lightboximg") It works fine, so I know the code is fine. I just can't crack it and I'm sure it's really simple. Thanks in advance.