Click here to Skip to main content
15,907,281 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: check file.exists on remote machine Pin
satyam1438-Jan-07 23:40
satyam1438-Jan-07 23:40 
GeneralRe: check file.exists on remote machine Pin
amin_behzadi9-Jan-07 0:17
professionalamin_behzadi9-Jan-07 0:17 
GeneralRe: check file.exists on remote machine Pin
satyam1439-Jan-07 0:21
satyam1439-Jan-07 0:21 
GeneralRe: check file.exists on remote machine Pin
szukuro9-Jan-07 1:00
szukuro9-Jan-07 1:00 
QuestionVB.Net 2003 std / ASP.NET made www-pages to server ? Pin
porsti8-Jan-07 23:14
porsti8-Jan-07 23:14 
AnswerRe: VB.Net 2003 std / ASP.NET made www-pages to server ? Pin
Guffa8-Jan-07 23:28
Guffa8-Jan-07 23:28 
GeneralRe: VB.Net 2003 std / ASP.NET made www-pages to server ? Pin
porsti9-Jan-07 1:19
porsti9-Jan-07 1:19 
QuestionActive TextBox Backcolor Pin
varshavmane8-Jan-07 22:55
varshavmane8-Jan-07 22:55 
Hi All,

I want to get active textbox back color on focus event and it must get white color when it is not active.So I wrote JavaScript function in .js file and added this on my page.JavaScript Function are given below:

function GetColorOnFocus(target)
{
document.getElementById('target').style.backgroundColor = '#FFFFB0';
document.getElementById('target').style.color = 'Blue';
}


function RemoveColorOnBlur(target)
{
document.getElementById('target').style.backgroundColor = 'Window';
document.getElementById('target').style.color = 'WindowText';
}

Calling in this way:

<input name="txtPassWord" type="password" size="15" onfocus= "GetColorOnFocus('txtPassWord');" onblur="RemoveColorOnBlur('txtPassWord');" />

Is there some problem with my code as if I dont put this in .js file it works properly ow it wont.

Please help....
AnswerRe: Active TextBox Backcolor Pin
Venkatesh Mookkan8-Jan-07 23:20
Venkatesh Mookkan8-Jan-07 23:20 
GeneralRe: Active TextBox Backcolor Pin
varshavmane8-Jan-07 23:39
varshavmane8-Jan-07 23:39 
QuestionWindows-Shutdown via Website Pin
Bombenleger8-Jan-07 22:22
Bombenleger8-Jan-07 22:22 
QuestionCould be wrong? Pin
nclauder8-Jan-07 22:09
nclauder8-Jan-07 22:09 
AnswerRe: Could be wrong? Pin
Guffa8-Jan-07 22:26
Guffa8-Jan-07 22:26 
GeneralRe: Could be wrong? Pin
nclauder8-Jan-07 22:45
nclauder8-Jan-07 22:45 
GeneralRe: Could be wrong? Pin
Guffa8-Jan-07 23:24
Guffa8-Jan-07 23:24 
GeneralRe: Could be wrong? [modified] Pin
nclauder8-Jan-07 23:54
nclauder8-Jan-07 23:54 
QuestionCrystal Toolbar icons Pin
Blue_Boy8-Jan-07 21:56
Blue_Boy8-Jan-07 21:56 
QuestionProblem with ClientScript.RegisterStartupScript( ) [modified] Pin
Jay_se8-Jan-07 20:48
Jay_se8-Jan-07 20:48 
AnswerRe: Problem with ClientScript.RegisterStartupScript( ) Pin
szukuro8-Jan-07 23:33
szukuro8-Jan-07 23:33 
Questionhow to validate textbox in datagrid Pin
chinnivinay8-Jan-07 20:47
chinnivinay8-Jan-07 20:47 
AnswerRe: how to validate textbox in datagrid Pin
varshavmane9-Jan-07 18:32
varshavmane9-Jan-07 18:32 
Questionis it better way saving multiselect option listbox Pin
mohd imran abdul aziz8-Jan-07 20:42
mohd imran abdul aziz8-Jan-07 20:42 
QuestionMultithreaded application works in VS2005, not in production Pin
travich8-Jan-07 20:24
travich8-Jan-07 20:24 
QuestionSearch Facility Pin
Bulky Fellow8-Jan-07 19:46
Bulky Fellow8-Jan-07 19:46 
QuestionChanging Master Pages Dynamically in asp.net Pin
chohanpk8-Jan-07 19:37
chohanpk8-Jan-07 19:37 

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.