webpro 31 Posted November 27, 2013 Report Share Posted November 27, 2013 Any ideas why this doesn't work ?What's my mistake ? ui block text("Commenting", #commenting) clear list(%commenting) add list to list(%commenting, $scrape attribute(<outerhtml=w"<textarea class=\"item_input new_comment_input list_comment_text\" name=\"comment_text\" id=\"*_comment_text\" placeholder=\"Leave a Comment..\" image_id=\"*\"></textarea>">, "image_id"), "Delete", "Global") set(#commentingid, $random list item(%commenting), "Global") type text($element from text("<textarea class=\"item_input new_comment_input list_comment_text\" name=\"comment_text\" id=\"{#commentingid}_comment_text\" placeholder=\"Leave a Comment..\" image_id=\"{#commentingid}\"></textarea>"), #commenting, "Standard") I'm scrapping comment box ids first, then set a random id, so i can replace at 2 places I do set an ID by the way. I see it in the debugger. So it must have something to do with the way i try to input it into TYPE TEXT i guess ? Thanks Quote Link to post Share on other sites
LazyBotter 188 Posted November 27, 2013 Report Share Posted November 27, 2013 Do you have a page url? Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted December 2, 2013 Report Share Posted December 2, 2013 yeah, I set the list item before a type text and then put that var in the type text instead of list item function. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.