
JavaScript
文章平均质量分 55
garcon1986
永远走在路上的前行者
关注实现细节,向专家进发!!!
展开
-
firefox不支持document.all的解决方法
/***************************by garcon1986********************************/ 参考部分:由于 firefox 不支持 document.all 引发的问题(及解决)下午帮技术查一个问题 算是很严重的大问题症状:服务器不停接收undefined请求大体看了一下 几乎都是来自Firefo原创 2010-02-12 23:36:00 · 5145 阅读 · 0 评论 -
学习javascript推荐网站
/***************************by Jiangong SUN********************************/ Java is to JavaScript what Car is to Carpet论坛交流:大型的web开发社区http://www.webdeveloper.com/forum/index.phpW3Cs原创 2010-02-12 23:37:00 · 2279 阅读 · 0 评论 -
如何获得div的child
/******************************by Jiangong SUN****************************/见图下所示:原创 2011-05-04 19:52:00 · 910 阅读 · 0 评论 -
How to implement double currency
/*By Jiangong SUN*/The principe is get the two price at the same place and switch one to another depending on what you want to display.You can implement it by using ajax and javascript in原创 2011-11-16 21:43:01 · 787 阅读 · 0 评论 -
Some points about postback and multi-language drop down list
/*By Jiangong SUN*/Cultures.ascx.cs:public partial class Cultures : System.Web.UI.UserControl { public string SelectedCultureCode { get { return ddlCultures.SelectedValue原创 2011-11-29 16:57:34 · 785 阅读 · 0 评论 -
GETBOUNDINGCLIENTRECT CAUSES 'UNSPECIFIED ERROR' IN IE7 AFTER AJAX in Jquery 1.4.2
/*By Jiangong SUN*/This problem occurs when we calculate the offset for hidden div in ajax in our project. It's produced in IE 7.Here is the solution : In jquery.1.4.2.js,replace :原创 2011-12-15 05:02:08 · 1172 阅读 · 0 评论 -
Compare javascript strings with
/*By Jiangong SUN*/Today I wanted to compare two string in javascript, they both have the same values but they are not equal when i compare them.Here is my html code:36-&-n-b-s-p-;759原创 2011-12-10 05:28:58 · 1084 阅读 · 0 评论 -
How to implement scrolling image with javascript in web page
/*by Jiangong SUN*/I want to implement a scrolling section in web page. The height of left part is fixed, the right part is variable and a scrolling section inside.Here is the page s原创 2012-10-04 17:17:35 · 907 阅读 · 0 评论 -
How to realize range slider using jQuery
/*by Jiangong SUN*/Here is an sample for my project which is realized using aspx and jquery slider library.$(document).ready(function () { //centralised slider code var stepvalue原创 2012-10-15 21:44:43 · 1182 阅读 · 0 评论 -
PNG-8 format image opacity problem in IE8 & IE7
/*by Jiangong SUN*/I use jquery ui library for displaying several tabs with correspondant contents in my project. It works perfectly in Firefox and Chrome. When I click a tab different fro原创 2012-12-10 18:41:03 · 1424 阅读 · 0 评论 -
Alternative solution for using IF condition with Eval in C# Repeater
/*by Jiangong SUN*/I have encountered the problem when i want to use IF condition for Eval in C# repeater a few days ago.The actuality is I can not use IF clause for Eval in a repeater. A solu原创 2012-01-04 17:42:34 · 996 阅读 · 0 评论 -
生成圆角,使用curvycorners.js出现错误"No object with ID #calpopup exists yet"的解决
生成圆角时出现的错误。 使用如下代码: /********by garcon1986**************/ var curvyCornersVerbose = false;原创 2010-03-12 00:58:00 · 1300 阅读 · 0 评论 -
How to solve second button click download problem on SharePoint 2010
/*Author: Jiangong SUN*/In fact, I have a button and it will generate a file and propose users to download it when users click on it. But it works only for the first time.The principle原创 2013-04-12 21:13:12 · 1375 阅读 · 1 评论