Click here to Skip to main content
13,349,502 members (48,704 online)


AnswerRe: How to put clipboard data into TextBox Pin
Ravindra Bisen14-Jan-13 22:50
memberRavindra Bisen14-Jan-13 22:50 
GeneralRe: How to put clipboard data into TextBox Pin
itzzmearun29-Jan-13 21:18
memberitzzmearun29-Jan-13 21:18 
GeneralRe: How to put clipboard data into TextBox Pin
DaveAuld31-Jan-13 3:56
mentorDaveAuld31-Jan-13 3:56 
QuestionjQuery: live() function Pin
Phanindra2619-Jan-13 1:27
memberPhanindra2619-Jan-13 1:27 
AnswerRe: jQuery: live() function Pin
J4amieC9-Jan-13 1:39
memberJ4amieC9-Jan-13 1:39 
QuestionGoogle+ login on my website Pin
marcbase8-Jan-13 12:16
membermarcbase8-Jan-13 12:16 
AnswerRe: Google+ login on my website Pin
Sandeep Mewara8-Jan-13 18:45
mvpSandeep Mewara8-Jan-13 18:45 
QuestionQuestion Pin
nth926-Jan-13 7:25
membernth926-Jan-13 7:25 
i have a questions you can help me ??

Q1) If you have two definitions for embedded CSS classes; classA , and classB. Write a
    JavaScript statement that will be responsible for changing the DIV tag CSS class shown
    below to classB ?
<div name="section1" class="classA"> …… </div>

B.  section1.class="classB"
C.  div.className="classB"
D.  section1.className="classB"

Q7. Which of the following is the correct JavaScript syntax to assign the file "bird.jpg" to the src property of an Image object called newImage?
A. newImage = "bird.jpg";
C. newImage.src("bird.jpg");
D. newImage.src = "bird.jpg";

Q8.The following code will:
var str="welcome in web";

A. display on the browser as a hyperlink.
B. display on the browser welcome in web as a hyper link.
C. not display anything on the browser.
D. it is an error to write this javascript code.

Q11. For a webpage containing only one form shown below how can we obtain the value
      entered inside the textbox in JavaScript?

<form name="sub">
      First Number:  <input type = "text" name = "first" size = "5"/> </form>

A.  document.forms[1].first.value
B.  sub.first.value
C.  window.forms[0].first.value
D.  sub.text.first.value

Q12. If we have the following radio buttons in form named Form1, which line of code
      below could be used to determine if the Female option is checked?

Male <input type = "radio" name="gender" value="M" checked/>
Female <input type = "radio" name="gender" value="F"/>

A.  Not checked since the Male option is already checked and cannot be changed.
B.  Form1.gender[1].click();
C.  Form1.gender.checked;
D.  Form1.gender[1].checked;

Q13. Suppose that a JavaScript function was called upon pressing a form’s Submit
      button. Which one of the following JavaScript code lines could prevent the action
      of sending the form’s data to the server?

A.  window.event.returnValue = false;
B.  window.event.returnValue = true;
C.  confirm( "Are you sure you want to reset?" );
D.  window.event.formValue = false;

Q19) The output of the following html document is:
<html><head><title></title><script type = "text/javascript"> <!--
var count = 1;   while (count <= 5)
{ if(count % 3 == 0) document.write("***");
  else document.write("++++");
   document.write( "<br/>" );
 count++;}  // -- >

A) ++++              B) ++++++++***++++              C) ****                        D) +++++

AnswerRe: Question Pin
Richard MacCutchan6-Jan-13 7:32
mvpRichard MacCutchan6-Jan-13 7:32 
AnswerRe: Question Pin
ProgramFOX6-Jan-13 8:13
member ProgramFOX6-Jan-13 8:13 
AnswerRe: Question Pin
J4amieC8-Jan-13 1:52
memberJ4amieC8-Jan-13 1:52 
AnswerRe: Question Pin
Keith Barrow8-Jan-13 2:30
mentorKeith Barrow8-Jan-13 2:30 
QuestionSharepoint - Aggregate lists with JavaScript Pin
garfield1853-Jan-13 4:38
membergarfield1853-Jan-13 4:38 
QuestionBrowser Back Button Pin
tiger1463-Jan-13 2:58
membertiger1463-Jan-13 2:58 
AnswerRe: Browser Back Button Pin
Keith Barrow3-Jan-13 4:03
mentorKeith Barrow3-Jan-13 4:03 
GeneralRe: Browser Back Button Pin
tiger1468-Jan-13 0:19
membertiger1468-Jan-13 0:19 
GeneralRe: Browser Back Button Pin
Keith Barrow8-Jan-13 2:41
mentorKeith Barrow8-Jan-13 2:41 
AnswerRe: Browser Back Button Pin
Sandeep Mewara4-Jan-13 3:55
mvpSandeep Mewara4-Jan-13 3:55 
AnswerRe: Browser Back Button Pin
twseitex8-Jan-13 7:56
membertwseitex8-Jan-13 7:56 
AnswerRe: Browser Back Button Pin
Anjum.Rizwi15-Jan-13 22:20
memberAnjum.Rizwi15-Jan-13 22:20 
AnswerRe: Browser Back Button Pin
vinodkumarnie18-Jan-13 23:33
membervinodkumarnie18-Jan-13 23:33 
AnswerRe: Browser Back Button Pin
Deepak Kr17-Feb-13 23:26
memberDeepak Kr17-Feb-13 23:26 
Generalhow can we set random image in my asp website? Pin
khiladi78631-Dec-12 6:43
memberkhiladi78631-Dec-12 6:43 
AnswerRe: how can we set random image in my asp website? Pin
Sandeep Mewara4-Jan-13 3:59
mvpSandeep Mewara4-Jan-13 3:59 
GeneralRe: how can we set random image in my asp website? Pin
khiladi78622-Jan-13 1:52
memberkhiladi78622-Jan-13 1:52 

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 |
Web03 | 2.8.180111.1 | Last Updated 10 Jan 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid