[email protected] wrote:
How do I actually get the value (which is the 'price' attribute to display)?
Point of problem: addCallBack method in my javascript file.
//Creating a callback on success to process our json response
d.addCallback
(
function (req)
{
//elements consult mochikit docs for full details
var td_price = TD(null, resp.data.price.value);
// Im stuck here!!! Don't know why the freakin' value won't show :(
p_txt = P({'style':'display:none'}, resp.data.price);
replaceChildNodes(price, [p_txt]);
Am not familiar with Mochikit, but from context should that be
p_txt = P({'style':'display:none'}, resp.data.price.value);
^^^^^^^
--
Regards
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/