Tag Archives: jQuery
Configure jQuery DatePicker for no Previous Dates or a Date Range
jQuery DatePicker is an popular choice for inputting dates as it allows the user ease of entry and saves the programmer forcing date formats and consequent checks. It’s easy to place on a page: HTML: <input id=”dd” type=”text” /> CODE: $(“#dd”).datepicker({ numberOfMonths: 3, dateFormat: “dd/mm/yy” }); There’s lots of configuration you can do and one… Read More »
Splitting JavaScript into Separate Files/Modules
For some time I have been trying to find the best way of how to split my JavaScript code into modules and have one module per file. It sounds simple enough but it can start to require references between the files and get quite messy. After looking at a number of techniques on the internet… Read More »
Fix: jQuery .click() Event Not Working with Dynamically Added Elements
jQuery .click() Event Not Working with Dynamically Added Elements jQuery .click is one of the most simple and widely used events in the jQuery library. It works great for most of the time, but you may encounter a problem when you add dynamic elements. Let’s set up an example. Drop the following code into a… Read More »
Bootstrap Tooltips Simple Demo
Bootstrap Tooltip is a very easy way to implement pop-up tooltips and is very useful in adding tooltip help to both buttons and text. You can even mark up the text in your external data for on-screen dispay. My demo is here and the code for that is shown below. <!DOCTYPE html> <html> <head> <link… Read More »
bootstrap-dialog is a useful little plugin
Chain of Responsibility JavaScript Design Pattern
Why jQuery only works once in some ASP.NET pages
jQuery: Advantages and Disadvantages
by Les Kendall Can jQuery replace ASP.NET or PHP? Recently I experimented with a jQuery event calendar on our Cyberforth Room Booking System. Our previous version uses ASP.NET to build the booking chart as a whole on the server and then renders the lot to the browser. It was a bit slow and clunky, but… Read More »