Jump to main content
URZ Workshop „Creating websites with TUCAL“
JavaScript
URZ Workshop „Creating websites with TUCAL“ 

JavaScript

General

  • JavaScript or JQuery can be used to program dynamic effects on web pages easily and across browsers or to make web applications more comfortable
  • Our websites already contain jQuery
    All functions of this JavaScript library can be used
  • Additional JavaScript code should always be integrated via a separate file (do not use inline code!) – integration is done via variable $javascript in the page header
    • $javascript[] = 'example/code.js'
  • Typical application scenarios include:
    • dynamic manipulation of web pages
    • plausibility check (data validation) of form input before submission
    • Display of dialog boxes and pop-ups
    • Sending and receiving data without reloading the page in the browser (Ajax)
    • Suggestion of search terms during input
  • The possibilities of JavaScript or JQuery are very manifold, therefore use:

Example of use

Would you like to dive into JavaScript programming in more detail?