Click here to Skip to main content
12,074,763 members (57,147 online)

JavaScript

 
Questioncopy one file from a folder to another folder with JS Pin
hasThisNameBeen19-Feb-13 23:38
memberhasThisNameBeen19-Feb-13 23:38 
AnswerRe: copy one file from a folder to another folder with JS Pin
Sandeep Mewara20-Feb-13 18:10
mvpSandeep Mewara20-Feb-13 18:10 
GeneralRe: copy one file from a folder to another folder with JS Pin
ryanb3121-Feb-13 2:51
memberryanb3121-Feb-13 2:51 
GeneralRe: copy one file from a folder to another folder with JS Pin
Sandeep Mewara21-Feb-13 3:15
mvpSandeep Mewara21-Feb-13 3:15 
GeneralRe: copy one file from a folder to another folder with JS Pin
dusty_dex27-Feb-13 15:14
memberdusty_dex27-Feb-13 15:14 
Questionjavascript Pin
NAVNEET KUMAR SINGH18-Feb-13 19:45
memberNAVNEET KUMAR SINGH18-Feb-13 19:45 
AnswerRe: javascript Pin
Rahul Rajat Singh19-Feb-13 0:52
mvpRahul Rajat Singh19-Feb-13 0:52 
AnswerRe: javascript Pin
ryanb3119-Feb-13 3:37
memberryanb3119-Feb-13 3:37 
QuestionJavaScript run slow with Ipad iOS 6 Pin
kornkimhour13-Feb-13 23:59
memberkornkimhour13-Feb-13 23:59 
QuestionJavaScript: How to reference user control inside content page? Pin
Tesic Goran12-Feb-13 21:36
memberTesic Goran12-Feb-13 21:36 
SuggestionRe: JavaScript: How to reference user control inside content page? Pin
Blikkies13-Feb-13 3:14
memberBlikkies13-Feb-13 3:14 
AnswerRe: JavaScript: How to reference user control inside content page? Pin
ryanb3114-Feb-13 4:33
memberryanb3114-Feb-13 4:33 
AnswerRe: JavaScript: How to reference user control inside content page? Pin
twseitex15-Feb-13 1:02
membertwseitex15-Feb-13 1:02 
Questiongetting rid of  &Nbsp's Pin
BrianCampbellMCAD11-Feb-13 4:52
memberBrianCampbellMCAD11-Feb-13 4:52 
I have an .aspx from that is serving as a popup and populating textboxes on another form through the javascript below. I'm needing a way to on either screen to avoid a " " from appearing for Nulls. Any ideas? Maybe "IF val1 == " "... "" Else.... "(?) Thanks!:

<script language="javascript">
function GetRowValue(val1, val2, val3, val4, val5, val6) {

window.opener.document.getElementById("txtEndUserLastName").value = val1;
window.opener.document.getElementById("txtEndUserFirstName").value = val2;
window.opener.document.getElementById("txtEndUserMiddleName").value = val3;
window.opener.document.getElementById("txtUserLanId").value = val4;
window.opener.document.getElementById("txtEndUserLocation").value = val5;
window.opener.document.getElementById("txtEmail").value = val6;

window.close();
}
</script>

<script runat="server">
Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles Gridview1.RowDataBound
If (e.Row.RowType = DataControlRowType.DataRow) Then
DirectCast(e.Row.FindControl("btnSelect"), Button).Attributes.Add _
("onclick", "javascript:GetRowValue('" & e.Row.Cells(1).Text & "','" & e.Row.Cells(2).Text & "','" & e.Row.Cells(3).Text & "','" & e.Row.Cells(4).Text & "','" & e.Row.Cells(5).Text & "','" & e.Row.Cells(6).Text & "')")
End If
End Sub
</script>



modified 11-Feb-13 10:46am.

AnswerRe: getting rid of  &Nbsp's Pin
BrianCampbellMCAD11-Feb-13 9:17
memberBrianCampbellMCAD11-Feb-13 9:17 
QuestionCreate Appointment in yahoo calendar using API Pin
srinivasan.p.t29-Jan-13 4:08
membersrinivasan.p.t29-Jan-13 4:08 
AnswerRe: Create Appointment in yahoo calendar using API Pin
ryanb314-Feb-13 9:52
memberryanb314-Feb-13 9:52 
QuestionJava Script is not working in Chrome Pin
Flex_Query29-Jan-13 3:17
memberFlex_Query29-Jan-13 3:17 
QuestionRe: Java Script is not working in Chrome Pin
ryanb314-Feb-13 9:52
memberryanb314-Feb-13 9:52 
AnswerRe: Java Script is not working in Chrome Pin
Brisingr Aerowing10-Mar-13 11:19
memberBrisingr Aerowing10-Mar-13 11:19 
QuestionPosting a message from diffrent domain Pin
AghaKhan28-Jan-13 23:01
memberAghaKhan28-Jan-13 23:01 
GeneralRe: Posting a message from diffrent domain Pin
Prasad Khandekar14-Mar-13 0:58
memberPrasad Khandekar14-Mar-13 0:58 
QuestionProject Help Please Pin
jmallen25-Jan-13 5:53
memberjmallen25-Jan-13 5:53 
AnswerRe: Project Help Please Pin
sarinya_chalat3-Feb-13 17:17
membersarinya_chalat3-Feb-13 17:17 
AnswerMessage Automatically Removed Pin
23-Jan-13 2:30
memberMember 822740423-Jan-13 2:30 
Questionproject question Pin
jacklyne16-Jan-13 21:04
memberjacklyne16-Jan-13 21:04 
AnswerRe: project question Pin
Richard MacCutchan17-Jan-13 0:45
mvpRichard MacCutchan17-Jan-13 0:45 
GeneralRe: project question Pin
AnalogNerd17-Jan-13 6:21
memberAnalogNerd17-Jan-13 6:21 
AnswerRe: project question Pin
J4amieC17-Jan-13 1:09
memberJ4amieC17-Jan-13 1:09 
QuestionAbout mobile web debugger Pin
tidelgl13-Jan-13 20:18
membertidelgl13-Jan-13 20:18 
QuestionRegular Expression Pin
AB777111-Jan-13 5:10
memberAB777111-Jan-13 5:10 
AnswerRe: Regular Expression Pin
vinodkumarnie18-Jan-13 22:44
membervinodkumarnie18-Jan-13 22:44 
AnswerRe: Regular Expression Pin
AspDotNetDev24-Jan-13 15:09
protectorAspDotNetDev24-Jan-13 15:09 
QuestionHow to put clipboard data into TextBox Pin
Ravindra Bisen10-Jan-13 1:02
memberRavindra Bisen10-Jan-13 1:02 
AnswerRe: How to put clipboard data into TextBox Pin
J4amieC10-Jan-13 3:39
memberJ4amieC10-Jan-13 3:39 
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 
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 

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.160208.1 | Last Updated 11 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid