From 39603f3211a99bf23392a5d5e705135b1e4c1dd3 Mon Sep 17 00:00:00 2001 From: sanj Date: Mon, 30 Aug 2010 00:15:12 +0530 Subject: [PATCH] silly - placeholder js --- itf/templates/erang/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itf/templates/erang/home.html b/itf/templates/erang/home.html index f1e8381..757c373 100644 --- a/itf/templates/erang/home.html +++ b/itf/templates/erang/home.html @@ -7,7 +7,7 @@ $(document).ready(function() { $('input, textarea').each(function() { var hasPlaceholder = $(this).attr("data-placeholder") == undefined ? false : true; if (hasPlaceholder) { - $(this).data("placeholder") = $(this).attr("data-placeholder"); + $(this).data("placeholder", $(this).attr("data-placeholder")); $(this).addClass("placeholder").val($(this).data("placeholder")); $(this).focus(function() { var currText = $(this).val();