Click here to Skip to main content
15,884,010 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionRe: How to develop Smart TV Apps? Pin
markovl17-Jul-12 0:36
markovl17-Jul-12 0:36 
AnswerRe: How to develop Smart TV Apps? Pin
prithveesh.goel17-Jul-12 20:56
prithveesh.goel17-Jul-12 20:56 
AnswerRe: How to develop Smart TV Apps? Pin
Richard MacCutchan17-Jul-12 2:50
mveRichard MacCutchan17-Jul-12 2:50 
GeneralRe: How to develop Smart TV Apps? Pin
prithveesh.goel17-Jul-12 20:57
prithveesh.goel17-Jul-12 20:57 
GeneralRe: How to develop Smart TV Apps? Pin
Richard MacCutchan17-Jul-12 21:32
mveRichard MacCutchan17-Jul-12 21:32 
QuestionJavaScript Validation - DropDownLists Pin
EuphorialXTC15-Jul-12 23:04
EuphorialXTC15-Jul-12 23:04 
AnswerRe: JavaScript Validation - DropDownLists Pin
Sibasisjena16-Jul-12 0:08
professionalSibasisjena16-Jul-12 0:08 
AnswerRe: JavaScript Validation - DropDownLists Pin
jkirkerx19-Jul-12 8:57
professionaljkirkerx19-Jul-12 8:57 
The <%client.id %> is for when your object is on a webform.
in code behind, you have to use a static id value.

So make sure the object exist first, it not, then it's your id, and javascript could not find it.

function Test() {
 
    var ddlDevice = document.getElementById("_ddlDeviceType");
    alert(ddlDevice); // make sure it says [object]
    if (ddlDevice.value == "---Please Select---") {
        alert("Test");
        ddlDevice.focus();
    }
    return false;
}

ddlDeviceType.Attributes.Add("id", "_ddlDeviceType");
ddlDeviceType.Attributes.Add("onblur", "Test(); return false;");

Questionusing createElement, not working in IE8 on XP and Server 2003 Pin
jkirkerx13-Jul-12 16:42
professionaljkirkerx13-Jul-12 16:42 
General[solved] Re: using createElement, not working in IE8 on XP and Server 2003 Pin
jkirkerx15-Jul-12 16:46
professionaljkirkerx15-Jul-12 16:46 
Questionc# Webbrowser javascript submit then blank page Pin
koncuk12-Jul-12 3:36
koncuk12-Jul-12 3:36 
AnswerRe: c# Webbrowser javascript submit then blank page Pin
Sibasisjena12-Jul-12 4:30
professionalSibasisjena12-Jul-12 4:30 
GeneralHow to get the objects of the selected ITem Pin
Vimalsoft(Pty) Ltd11-Jul-12 23:27
professionalVimalsoft(Pty) Ltd11-Jul-12 23:27 
QuestionAdding a link to a table built in Javascript Pin
offroaderdan7-Jul-12 1:04
offroaderdan7-Jul-12 1:04 
AnswerRe: Adding a link to a table built in Javascript Pin
enhzflep8-Jul-12 22:17
enhzflep8-Jul-12 22:17 
AnswerRe: Adding a link to a table built in Javascript Pin
BobJanova9-Jul-12 1:52
BobJanova9-Jul-12 1:52 
AnswerRe: Adding a link to a table built in Javascript Pin
Sanjay K. Gupta9-Jul-12 3:44
professionalSanjay K. Gupta9-Jul-12 3:44 
AnswerRe: Adding a link to a table built in Javascript Pin
twseitex10-Jul-12 10:30
twseitex10-Jul-12 10:30 
QuestionProblem to add new field in javascript! Pin
Erika Silva4-Jul-12 23:33
Erika Silva4-Jul-12 23:33 
AnswerRe: Problem to add new field in javascript! Pin
Erika Silva5-Jul-12 0:14
Erika Silva5-Jul-12 0:14 
GeneralRe: Problem to add new field in javascript! Pin
Erika Silva5-Jul-12 5:45
Erika Silva5-Jul-12 5:45 
Questionautomatically break page in html code Pin
fsajjad4-Jul-12 1:41
fsajjad4-Jul-12 1:41 
Questionhow can zoom image in a datalist dynamically adding images Pin
shannya3-Jul-12 23:30
shannya3-Jul-12 23:30 
Questionfind words from group of letters in a statement using regularexpression Pin
siva4552-Jul-12 23:46
siva4552-Jul-12 23:46 
AnswerRe: find words from group of letters in a statement using regularexpression Pin
Niral Soni13-Jul-12 2:26
Niral Soni13-Jul-12 2:26 

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.