Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $context['html_headers'] .= "\n" . '
- <script type="text/javascript">
- //<![CDATA[
- $(document).ready(function()
- {
- var menuId = "Test";
- var ajax_request = true;
- $.ajax({
- url: smf_scripturl + "?ajax_request=menu_children",
- type: "POST",
- data: {id: menuId, request: ajax_request},
- dataType: "json",
- success: function(res_text)
- {
- alert (res_text);
- }
- });
- });
- //]]>
- </script>
- ';
Add Comment
Please, Sign In to add comment