Timeline for How to make javascript work on theme options page
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 11, 2014 at 13:10 | vote | accept | LoomyBear | ||
Jun 11, 2014 at 13:04 | comment | added | engelen | No problem! I've just added it as an answer! | |
Jun 11, 2014 at 13:04 | answer | added | engelen | timeline score: 2 | |
Jun 11, 2014 at 13:01 | comment | added | LoomyBear |
jQuery(...) did the trick! Thanks!! Can you publish it as an answer so I can mark it as helpful? Cheers!!
|
|
Jun 11, 2014 at 12:58 | comment | added | engelen |
Does your code generate JavaScript errors (check using the developer console)? It could be a conflict with another library over $ . Have you tried jQuery( document ) ?
|
|
Jun 11, 2014 at 12:57 | comment | added | LoomyBear |
Hi I need to use some values stored in WP database. Something like alert('<? echo get_option("some-stuff"); ?>');
|
|
Jun 11, 2014 at 12:55 | comment | added | engelen | Why do you want to use inline JavaScript and not include a JavaScript file? And if you have a reason to use inline | |
Jun 11, 2014 at 12:53 | history | asked | LoomyBear | CC BY-SA 3.0 |