Quantcast
Channel: Random Thoughts » Uncategorized
Browsing all 5 articles
Browse latest View live

Sending a message to JMS Queue

Here is some code to send a message to a JMS queue using Spring: ConnectionFactory connectionFactory = // Look up connectionfactory from JNDI     Queue queue = // Look up distributed queue from JNDI...

View Article



JQuery – Clearing hidden fields

JQuery’s form plugin provides several convenient methods for clearing/resetting form element values. However, the clearForm method does not reset hidden fields. Here is a simple implementation for...

View Article

JQuery – Five useful tips

Selectors Before an element can be manipulated using JQuery, it needs to be identified. JQuery provides a powerful syntax for selecting a one or more elements. Here are some simple selectors (notice...

View Article

Unobtrusive JavaScript using JQuery

I feel that an important advantage of using JQuery is its ability to separate behavior from structure. Consider the case where you want to trigger a JavaScript method when a link is clicked. A common...

View Article

Basic JQuery Tips

This is more for my reference and hopefully helps others working with JQuery. Getting and Setting the innerHTML of an element var content = $("#id").html(); $("#id").html("Some HTML"); Getting and...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images