Skip to content
drewwilson edited this page Sep 13, 2010 · 29 revisions

$.formatDate(format, value);

$.formatNumber(number, options);

$.formatLink(text, href, options);

This will append a link (<a>) to the given selector.


$(".myclass").formatLink("Click Me!", "/index.html", {
     title: "I am a link.",
     className: "cname",
     Target: "_blank"
});
Options Description
title Set the Title attribute for the Anchor Tag. Accepts a string.
className Set the Class attribute for the Anchor Tag. You can pass multiple Class Names, separated by spaces. This will only Add Class Names to the Anchor tag, and not remove any existing Class Names.
target Set the Target attribute for the Anchor Tag. Accepts a string

$.submitsTo(controller, options);

Clone this wiki locally