Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function ($) {
- $(document).ready(function() {
- function myFunction() {
- return 'hai';
- }
- myFunction();
- });
- Drupal.behaviors.test = {
- attach: function (context, settings) {
- //i want call myFunction() here.
- }
- };
- })(jQuery);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement