Click here to Skip to main content
15,897,226 members
Home / Discussions / Web Development
   

Web Development

 
Questiondataset serialization problem in .net 2.0 Pin
khalidahmad28-May-07 19:23
khalidahmad28-May-07 19:23 
Question"onClick" Event in AJAX Control auto runs "mouseOut" Event Pin
devil8528-May-07 5:43
devil8528-May-07 5:43 
AnswerRe: "onClick" Event in AJAX Control auto runs "mouseOut" Event Pin
JimmyRopes28-May-07 6:14
professionalJimmyRopes28-May-07 6:14 
GeneralRe: "onClick" Event in AJAX Control auto runs "mouseOut" Event Pin
devil8528-May-07 8:14
devil8528-May-07 8:14 
GeneralRe: "onClick" Event in AJAX Control auto runs "mouseOut" Event Pin
Christian Graus28-May-07 12:51
protectorChristian Graus28-May-07 12:51 
GeneralRe: "onClick" Event in AJAX Control auto runs "mouseOut" Event Pin
JimmyRopes28-May-07 20:59
professionalJimmyRopes28-May-07 20:59 
QuestionRe: "onClick" Event in AJAX Control auto runs "mouseOut" Event Pin
devil8529-May-07 0:45
devil8529-May-07 0:45 
AnswerRe: "onClick" Event in AJAX Control auto runs "mouseOut" Event Pin
JimmyRopes29-May-07 6:03
professionalJimmyRopes29-May-07 6:03 
devil85 wrote:
Please correct me if I was wrong. I was under the impression I could use this method for calling the first of any parameters sent into the function "setImageClicked.arguments[0]" and the second is Just using the name of the image which is "TrckingSystemLink" and calling its ".src" method.


I didn't know document had a .src method.

I was referring to the HTML DOM document model. Maybe I am wrong but I have always used document.document-method.methods-methods, etc., not document[something].method, but maybe I just haven't seen document used like this.

I usually stick to a few well tried methods with the DOM document ( document.getElementsByTagName, document.getElementById, document.getElementByName, document.write, document.anchors[], document.forms[], document.images[], document.links[], etc).

See HTML DOM Document Object[^] for collections, properties and methods of the DOM document.

I am not saying you are wrong, I am just saying I have never seen the HTML DOM Document Object used that way.

Maybe what you are using is a non-standard extension of the HTML DOM Document Object specific to asp.net which I am not familiar with at all.

I use straight HTML (DHTML, XHTML), CSS, javascrit and standard AJAX (XMLHttpRequest [AcxiveX for IE < 7]) for client side coding so that my web pages stand a chance of rendering on a wide variety of browsers, but it does take tweaking.

The thing that stood out the most in your code was that you were using a single = sign in your if statements. I think a single = sign is a comparator in vbscript but in javascript it is an assignment operator.

Double equal signs (==) are the comparison operator in javascript. Standard javascript that is.

I cannot say in asp.net how you code if statements but in standard javascript it would be something like if(this == that). If you use the single = sign in standard javascript you will assign that to this (previous example) in the if statement which would always be true, and would always execute the code.

As I mentioned I don't know how you do it in asp.net so I don't know if this holds true in that environment.

Maybe some of the asp.net gurus can help you get a well formed script going in that environment.

Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems

I'm on-line therefore I am.
JimmyRopes


QuestionString Parameter From .Net Application to .Net ASP Web Service Pin
Ram_Goldman28-May-07 4:35
Ram_Goldman28-May-07 4:35 
AnswerRe: String Parameter From .Net Application to .Net ASP Web Service Pin
Christian Graus28-May-07 12:56
protectorChristian Graus28-May-07 12:56 
QuestionaspSmartUpload error '800a0009' Pin
Anurag Gandhi28-May-07 1:28
professionalAnurag Gandhi28-May-07 1:28 
QuestionHow to improve website ranking in Google Pin
rajesh22527-May-07 4:31
rajesh22527-May-07 4:31 
AnswerRe: How to improve website ranking in Google Pin
Johnny ²27-May-07 15:54
Johnny ²27-May-07 15:54 
AnswerRe: How to improve website ranking in Google Pin
Paddy Boyd28-May-07 3:44
Paddy Boyd28-May-07 3:44 
AnswerRe: How to improve website ranking in Google Pin
markkuk28-May-07 10:29
markkuk28-May-07 10:29 
AnswerRe: How to improve website ranking in Google Pin
random423-Apr-09 19:12
random423-Apr-09 19:12 
QuestionwebBrowser navigating event problem Pin
Opa Knack27-May-07 2:52
Opa Knack27-May-07 2:52 
Questionjavascript ajax innerhtml xml dom problem... Pin
l a u r e n26-May-07 16:15
l a u r e n26-May-07 16:15 
AnswerRe: javascript ajax innerhtml xml dom problem... Pin
JimmyRopes27-May-07 2:37
professionalJimmyRopes27-May-07 2:37 
GeneralRe: javascript ajax innerhtml xml dom problem... Pin
l a u r e n27-May-07 11:35
l a u r e n27-May-07 11:35 
GeneralRe: javascript ajax innerhtml xml dom problem... Pin
JimmyRopes27-May-07 15:03
professionalJimmyRopes27-May-07 15:03 
Questionplease sol javascript problem Pin
Vinay Dornala26-May-07 2:52
Vinay Dornala26-May-07 2:52 
AnswerRe: please sol javascript problem Pin
JimmyRopes26-May-07 3:48
professionalJimmyRopes26-May-07 3:48 
AnswerRe: please sol javascript problem Pin
Guffa27-May-07 18:59
Guffa27-May-07 18:59 
QuestionDETAILSVIEW WITH 2 COLUMNS Pin
hifiger200425-May-07 23:33
hifiger200425-May-07 23:33 

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.