DevArticles.In

Tips, Tricks, References and Bookmarks

  • Home
  • Hindi to Unicode
  • About
  • Contact

Month: January 2010

Autocomplete=”off” workaround / fix for valid XHTML

Arvind KumarJavascript, jQuery2 Comments on Autocomplete=”off” workaround / fix for valid XHTML

Add an onload function similar to the following to <head> section of your web page. <script type=”text/javascript”> function onload_call() { if (!document.getElementById) return false; var f = document.getElementById(‘field_name’); f.setAttribute(“autocomplete”, “off”); } </script>

Checking / Unchecking radio buttons and retrieving their value in jQuery

Arvind KumarJavascript, jQueryLeave a Comment on Checking / Unchecking radio buttons and retrieving their value in jQuery

Let us assume we have radio buttons <input name=”rd_name” id=”RD1″ value=”Value One” /> Label 1 <input name=”rd_name” id=”RD2″ value=”Value Two” /> Label 2 To retrieve and set radio button values by id we have the following methods. To retrieve we…

Read More→

Invoking Lightbox2 slide show on page load

Arvind KumarJavascript5 Comments on Invoking Lightbox2 slide show on page load

Invoke Lightbox2 on page load? Good question! If you have got frustrated searching for a solution to it, relax, it’s here! Just place the following snippet of javascript code in your web page’s <head> section:

Customizing mysql query of a bound model

Arvind KumarCakePHPLeave a Comment on Customizing mysql query of a bound model

I had a hasAndBelongsToMany binding in my Charity Model as i normally would need all the “Causes” available along with Charity information and vice-versa. At one place i needed a specific number of “Causes” picked randomly from the database table.…

Read More→

Creating Ajax form in Cakephp (with Prototype.js)

Arvind KumarCakePHP2 Comments on Creating Ajax form in Cakephp (with Prototype.js)

(If you are using jQuery with cakephp you may want to view this article, Creating Ajax form in Cakephp using jQuery ) With the help of prototype/JavaScript we can build really cool and fully functional ajax form in CakePHP really…

Read More→

Browser detect script in javascript

Arvind KumarJavascriptLeave a Comment on Browser detect script in javascript

I found this useful and up-to-date article to detect browser in JavaScript. Please refer to the author’s site page for detailed explanation.

When Firebug made life easier

Arvind KumarHTML and CSS, Javascript, MiscelleneousLeave a Comment on When Firebug made life easier

It’s been around three years now i have been using the Firebug. This great tool provides a web developer an easy way to look at and inspect the source code of a web page. You can view and experiment with…

Read More→

  • Useful Linux Commands
  • Disk Space Usage Commands
  • Top Directory Linux commands

Recent Posts

  • How to Remove Appends Attributes from Laravel Eloquent Model
  • How TO – Remove a Property from an Object in JavaScript
  • Array Destructuring With or Without List Function in PHP
  • Git Cannot open .git/FETCH_HEAD: Permission denied Solution
  • How to Check Laravel Version using CLI and File System

About Arvind

Arvind Thakur is a Full Stack Web Developer. He founded and runs a Software Development company by the name Inimist Technologies in Chandigarh, India. >> know more
Copyright © All rights reserved.
Blog Kit by WP Charms