Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
SimpleLightWeb
SimpleLightWeb
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse SVN
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Forums
List of Forums
Open Discussion (1)
Help (1)
Developers (1)
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse Subversion Repository
/
[simplelightweb]
/
js
/
common.js
Diff of /js/common.js
Parent Directory
|
Revision Log
|
Patch
revision
22
by
berupon
, Mon Jan 4 03:07:37 2010 UTC
revision
25
by
berupon
, Tue Jan 5 04:25:56 2010 UTC
#
Line 383
function setSelectOptions(select, arr)
Line 383
function setSelectOptions(select, arr)
383
384
function createCheckboxTag(name, value, label, checked)
function createCheckboxTag(name, value, label, checked)
385
{
{
386
var str = "<label><input type='checkbox' name='" + name + "' value='" + String(value).htmlspecialchars() + "'";
var str = "<input type='checkbox' name='" + name + "' value='" + String(value).htmlspecialchars() + "'";
387
if (checked) {
if (checked) {
388
str += " checked";
str += " checked";
389
}
}
390
str += ">" + String(label).escapeHTML() + "</label>";
str += ">";
391
if (label) {
392
str = "<label>" + str + String(label).escapeHTML() + "</label>";
393
}
394
return str;
return str;
395
}
}
396
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.22
changed lines
Added in v.25
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26