Sunday, January 9, 2011

HTML : javascript Inner Html - aletnative in Jquery

I keep looking for alternative in  jQuery.

//document.getElementById("lblPath").innerHTML = liname; 



jQuery('#lblPath').text(liname);

Tuesday, January 4, 2011

JQuery - Jqplot pie chart.- missing data label for slice

I have been working on the Jqplot for a while and looking storng to make the most , but i got stuck at point where supplying data i was missing data lables for slice . well the smalles share was almost zero well there is mechanism in Jqplot to round off but we not playing with that.

Solution is simple : dataLabelThreshold:.5 or min to your requirment it does solved my problem.

soon i will be adding how to use this jQplot

Monday, January 3, 2011

removing err [ jQuery error not defined ]


Today I solved an error that my programmer was getting Jquery not defined.

there are 2 possibilities
1. files not included in proper sequence
2. Files(js) not included. 

With me. 
Problem was that for test we started using a different master page. And when we started to work we did forget and thought that was the original master page with  all the scripts and js  file included.
But how we approached the problem did the trouble shooting and recreated the all the steps.
Found one more problem that order of calling files was not proper after fixing that one , we found that we missing the core Js file. And hence this problem was resolve. Good part was coming to know and realizing the importance to follow procedure to include files and which is neglected when we copy and paste.