I have the following code working for this play but true and false back to "true" and "false" Coming in the form.
var superslider_play = "& lt ;? Php get_option_tree ( 'superslider_play', ',' false ') ;; & gt;" Var superslider_pagination = "& lt ;? Php get_option_tree (' superslider_pagination ',' ',' Wrong ');? & Gt; $ ('# Superslider_home'). Superslides ({play: superslider_play, // millisecond for delay endorsement: superslider_pagination}); I tried to use json_encode () and .replace ("\", "\\\") but Nothing seems to help any kind of assistance will be welcomed.
You & lt ;? Php ...? & Gt; Outside the quote has been harsh. : var superslider_pagination = "& lt ;? Php get_option_tree ( 'superslider_pagination', '', 'false') ;? & Gt;" // Remove double quotation marks - ^ ---------------------------------------- - ----------------------- ^ Let's say you need to have the results: < Pre> var superslider_pagination = true; // or var superslider_pagination = false; ... By that time sees the browser as the JS.
No comments:
Post a Comment