Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Here is a sample page extension making use of Jquery 1.4.2 minified

Process

  1. Load the Setup tab

  2. ClickPage Extensions

  3. Click on Add

  4. Enter a Name

  5. Enter the Page that should be affected (i.e. ticket/add)

  6. Enter the following sample script

    var ticketTitle = jQuery("input").filter(function(index) {return (this.id == 'Ticket.Title')});
    var ticketComment = jQuery("textarea").filter(function(index) {return (this.id == 'Comment')});
    ticketTitle.attr('value', 'Title jQuery Test');
    ticketComment.attr('value', 'Comment jQuery Comment');
  7. Click Save

  • No labels