Question about getting value from callback...
I have a callback function defined for AfterHide.
options = $j.extend({title: "", closable: false, center: true, fixed: false, modal: true, afterHide: function() {var myobj = this.getContent();alert(myobj.html());} }, {});
var dialog = new Boxy("<div style=\"width: 580px; height: 495px;\"><?php print '<img src=/images/cat/ajaxlwhite.gif />'; ?></div>", options);
Here's the html that's coming back
<div>
<div style="float: left; padding-left: 10px;">
<div id="storeName" style="font-size: 11px;"><b>Sacramento</b></div>
<div id="storePhone" style="font-size: 10px;">(916) 392-3131</div>
<div id="storeAddress1" style="font-size: 9px;">5895 47th Ave</div>
<div id="storeAddress2" style="font-size: 9px;">Sacramento, CA 95824</div>
</div>
I'm having a problem getting at the values within the returned data.
How do I get at the actual value (eg 'storeName)... I have tried various ways of syntactically using selectors to try to get the data, but I haven't been able to figure out how to get the data back.
Thanks