Click here to Skip to main content
12,450,101 members (42,568 online)

JavaScript

 
QuestionRegular expression Pin
Member 962181822-Nov-12 2:25
memberMember 962181822-Nov-12 2:25 
AnswerRe: Regular expression Pin
n.podbielski22-Nov-12 20:00
membern.podbielski22-Nov-12 20:00 
GeneralRe: Regular expression Pin
Manfred R. Bihy22-Nov-12 21:20
mvpManfred R. Bihy22-Nov-12 21:20 
GeneralRe: Regular expression Pin
n.podbielski23-Nov-12 21:15
membern.podbielski23-Nov-12 21:15 
Questionform validation Pin
therainking7821-Nov-12 22:07
membertherainking7821-Nov-12 22:07 
AnswerRe: form validation Pin
Richard MacCutchan21-Nov-12 22:17
mvpRichard MacCutchan21-Nov-12 22:17 
GeneralRe: form validation Pin
therainking7828-Nov-12 13:14
membertherainking7828-Nov-12 13:14 
AnswerRe: form validation Pin
bVagadishnu28-Nov-12 11:14
memberbVagadishnu28-Nov-12 11:14 
GeneralRe: form validation Pin
therainking7828-Nov-12 13:17
membertherainking7828-Nov-12 13:17 
Questionopeing a new window in JS after time interval Pin
WaqasCheema20-Nov-12 23:36
memberWaqasCheema20-Nov-12 23:36 
AnswerRe: opeing a new window in JS after time interval Pin
Andrew Stoute30-Nov-12 4:51
memberAndrew Stoute30-Nov-12 4:51 
QuestionDraw circuit diagram using javascript Pin
anishkannan18-Nov-12 22:31
memberanishkannan18-Nov-12 22:31 
AnswerRe: Draw circuit diagram using javascript Pin
n.podbielski19-Nov-12 21:07
membern.podbielski19-Nov-12 21:07 
Answerto transfer items in select list to another select list without duplicates Pin
raviteja999200014-Nov-12 20:09
memberraviteja999200014-Nov-12 20:09 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<script language="JavaScript">
function b2_clear() {
document.getElementById('second').length = 0;


}
function move_first_to_second(value) {
var len = document.getElementById('second').length;
var list=document.getElementById('second');

var i = 0, c = 0;

if (len == 0) {
list.options[list.length] = new Option(value);
len = 1;
}
else {
for (i = 0; i < list.length; i++)
if(list[i].value == value){

c++;
}

if(c>0){
c=0;
}
else{
list.options[list.length]=new Option(value);
}
}
}




</script>

<form name="form1" method="" action="">

<select name="first" id="first" size="5">
<option>Choose 1</option>
<option>Choose 2</option>
<option>Choose 3</option>
<option>Choose 4</option>
<option>Choose 5</option>
</select>
<input type="button" id="move" value=">" onclick="move_first_to_second(document.getElementById('first').value);">
<select name="second" id="second" size="3">
</select> 
</form>

<input type="button" id="b2" value="clear"
>


</html>
QuestionHow does Yandex do its trick? Pin
Xarzu14-Nov-12 19:42
memberXarzu14-Nov-12 19:42 
AnswerRe: How does Yandex do its trick? Pin
Manfred R. Bihy14-Nov-12 20:44
mvpManfred R. Bihy14-Nov-12 20:44 
Questiondisplay record from two different time Pin
uti123fil8-Nov-12 17:15
memberuti123fil8-Nov-12 17:15 
AnswerRe: display record from two different time Pin
Richard MacCutchan8-Nov-12 23:47
mvpRichard MacCutchan8-Nov-12 23:47 
QuestionAdding a month to the current date Pin
SadiqMohammed6-Nov-12 23:48
memberSadiqMohammed6-Nov-12 23:48 
AnswerRe: Adding a month to the current date Pin
Richard Deeming7-Nov-12 2:00
memberRichard Deeming7-Nov-12 2:00 
GeneralRe: Adding a month to the current date Pin
SadiqMohammed7-Nov-12 18:31
memberSadiqMohammed7-Nov-12 18:31 
GeneralRe: Adding a month to the current date Pin
Richard Deeming8-Nov-12 2:11
memberRichard Deeming8-Nov-12 2:11 
GeneralRe: Adding a month to the current date Pin
SadiqMohammed8-Nov-12 19:08
memberSadiqMohammed8-Nov-12 19:08 
AnswerRe: Adding a month to the current date Pin
deepak.m.shrma19-Nov-12 18:07
memberdeepak.m.shrma19-Nov-12 18:07 
GeneralRe: Adding a month to the current date Pin
Peter_in_278019-Nov-12 18:58
memberPeter_in_278019-Nov-12 18:58 
GeneralRe: Adding a month to the current date Pin
deepak.m.shrma19-Nov-12 19:52
memberdeepak.m.shrma19-Nov-12 19:52 
QuestionNeed to pass object value from javascript to php Pin
gern844-Nov-12 10:08
membergern844-Nov-12 10:08 
SuggestionRe: Need to pass object value from javascript to php Pin
n.podbielski4-Nov-12 12:56
membern.podbielski4-Nov-12 12:56 
GeneralRe: Need to pass object value from javascript to php Pin
gern844-Nov-12 13:29
membergern844-Nov-12 13:29 
GeneralRe: Need to pass object value from javascript to php Pin
n.podbielski4-Nov-12 20:48
membern.podbielski4-Nov-12 20:48 
GeneralRe: Need to pass object value from javascript to php Pin
zengnanhua22-Nov-12 18:27
memberzengnanhua22-Nov-12 18:27 
GeneralRe: Need to pass object value from javascript to php Pin
Killzone DeathMan22-Nov-12 23:39
memberKillzone DeathMan22-Nov-12 23:39 
QuestionWindow restore Pin
mkotaska1-Nov-12 6:00
membermkotaska1-Nov-12 6:00 
AnswerRe: Window restore Pin
ryanb312-Nov-12 11:03
memberryanb312-Nov-12 11:03 
Questionunzip the .gzip files Pin
KIDYA31-Oct-12 19:44
memberKIDYA31-Oct-12 19:44 
AnswerRe: unzip the .gzip files Pin
Jay Zhu2-Nov-12 17:20
memberJay Zhu2-Nov-12 17:20 
Questioni have created 3 widgets using jquery ui - header, footer, textarea. i am observing abnormal behavior because of the footer widget. Pin
Abhishek Prakash30-Oct-12 5:53
memberAbhishek Prakash30-Oct-12 5:53 
AnswerRe: i have created 3 widgets using jquery ui - header, footer, textarea. i am observing abnormal behavior because of the footer widget. Pin
n.podbielski30-Oct-12 21:48
membern.podbielski30-Oct-12 21:48 
GeneralRe: i have created 3 widgets using jquery ui - header, footer, textarea. i am observing abnormal behavior because of the footer widget. Pin
Abhishek Prakash30-Oct-12 23:40
memberAbhishek Prakash30-Oct-12 23:40 
GeneralRe: i have created 3 widgets using jquery ui - header, footer, textarea. i am observing abnormal behavior because of the footer widget. Pin
Abhishek Prakash30-Oct-12 23:48
memberAbhishek Prakash30-Oct-12 23:48 
GeneralRe: i have created 3 widgets using jquery ui - header, footer, textarea. i am observing abnormal behavior because of the footer widget. Pin
n.podbielski31-Oct-12 1:50
membern.podbielski31-Oct-12 1:50 
GeneralRe: i have created 3 widgets using jquery ui - header, footer, textarea. i am observing abnormal behavior because of the footer widget. Pin
Abhishek Prakash31-Oct-12 2:44
memberAbhishek Prakash31-Oct-12 2:44 
GeneralRe: i have created 3 widgets using jquery ui - header, footer, textarea. i am observing abnormal behavior because of the footer widget. Pin
n.podbielski31-Oct-12 6:11
membern.podbielski31-Oct-12 6:11 
QuestionWorking example for Javascript to call a java webservice Pin
sekhar48429-Oct-12 23:50
membersekhar48429-Oct-12 23:50 
AnswerRe: Working example for Javascript to call a java webservice Pin
Richard MacCutchan30-Oct-12 0:54
mvpRichard MacCutchan30-Oct-12 0:54 
AnswerRe: Working example for Javascript to call a java webservice Pin
ryanb312-Nov-12 11:04
memberryanb312-Nov-12 11:04 
GeneralRe: Working example for Javascript to call a java webservice Pin
Member 946160725-Nov-12 19:32
memberMember 946160725-Nov-12 19:32 
QuestionJS::Page a serious fault Pin
lsw52131425-Oct-12 21:14
memberlsw52131425-Oct-12 21:14 
AnswerRe: JS::Page a serious fault Pin
enhzflep27-Oct-12 9:57
memberenhzflep27-Oct-12 9:57 
QuestionFill a "2D" Array with random values Pin
0bx24-Oct-12 12:27
member0bx24-Oct-12 12:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160826.1 | Last Updated 26 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid