|
No. Think about it. Would you want some website, written by an unknown party, to run an application on your local systems, say "format c:"
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Since the OP asked "without IE/ActiveX" what relevance does this have to the question? And BTW, no it can't
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
ok, sir.
I was rush, but the good point is that i asked you before posting an answer. i wish that Manfred didn't see it (i'll kill you if you told him)
Help people,so poeple can help you.
|
|
|
|
|
|
manikumar_gutti wrote: in href link why they didnt take the url.
What href? Who are they?
manikumar_gutti wrote: Thank you for the answer i asked before. it is great. i have the same problem
If you have the same problem you should ask in the same context, or at least reference the previous questions/answers.
Remember, we are not sitting at the same desk as you, we don't see the same thing you do, so you can't asked a question without some frame of reference or giving a complete description of the problem.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I get the feeling that you have taken someone else's code and are working through it step by step trying to figure out what is happening. I would suggest you get a good Javscript book or online tutorial, and get comfortable with the language before addressing some more complex issues.
I must get a clever new signature for 2011.
|
|
|
|
|
Richard MacCutchan wrote: I get the feeling that you have taken someone else's code
Sir, I believe that every student do the same thing, because they think they are making a better time. but the truth is that they are wasting their time and also other's.
Help people,so poeple can help you.
|
|
|
|
|
Ali Al Omairi(Abu AlHassan) wrote: they are wasting their time and also other's.
I think that may or may not be the case; I have learned lots of useful things by taking someone else's code and working through it. However, I usually start by studying the basics of the language in question.
I must get a clever new signature for 2011.
|
|
|
|
|
hi,
I have a problem with this code. if you understand this please send me the explantion.
I dont understand the variable intialization. could u please tell me what it means.
var openImage = ""
function getPath(url)
{
lastSlash = url.lastIndexOf("/")
return url.substring(0, lastSlash + 1)
}
regards
manikanta
|
|
|
|
|
Assuming url contains something like "dir/subdir/filename" then you will get the following:
openImage = <IMG SRC="filenamedg
closeImage = .gif" HEIGHT=21 WIDTH=16>
<IMG SRC="filenamedg.gif" HEIGHT=21 WIDTH=16>
I must get a clever new signature for 2011.
|
|
|
|
|
var openImage = "<IMG SRC=\"" + getPath(location.href) + "dg"
var closeImage = ".gif\" HEIGHT=21 WIDTH=16>"
function getPath(url)
{
lastSlash = url.lastIndexOf("/")
return url.substring(0, lastSlash + 1)
}
The code uses location.href, so I think it's looking for a file name dg.gif in the same folder as the web-page being referenced.
Richard MacCutchan wrote:
I think (assuming my page is 'http://mywebdomain/myfolder/mypage.html') this would be:
<IMG SRC="http://mywebdomain/myfolder/dg.gif" HEIGHT=21 WIDTH=16>
"It was when I found out I could make mistakes that I knew I was on to something."
-Ornette Coleman
"Philosophy is a study that lets us be unhappy more intelligently."
-Anon.
|
|
|
|
|
You are right of course, I misread the getPath() function.
I must get a clever new signature for 2011.
|
|
|
|
|
Hi
Thank you for your answer that i last time i asked. Now i want the phone number validation in javascript. How can we validate a phone number. if i give a invalid phone number it gives an error mesage. eg: 000000000
|
|
|
|
|
manikumar_gutti wrote: Thank you for your answer that i last time i asked
In fact you were shown some Google links; perhaps you could learn to do the same for yourself now you know how simple it is.
I must get a clever new signature for 2011.
|
|
|
|
|
Sir, be easy with him.
Sometimes thirsty people need some one to tell them to drink.
100
Help people,so poeple can help you.
|
|
|
|
|
Thirsty people standing in a stream shouldn't need to be told to drink. Even if they stumble they will drink.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
well ..;
as you might know, this can not be applied to all people.
100
Help people,so poeple can help you.
|
|
|
|
|
Or as we say "You can lead a horse to water but you cannot make it drink". However, one of the main qualities necessary to be a programmer (or anything else) is the ability to do one's own research. The sooner some of the questioners here learn that (hard) lesson, the better they will become. Merely posting questions asking others to do the work for them means they will not learn anything of much use, and will certainly not go very far in life.
I must get a clever new signature for 2011.
|
|
|
|
|
|
|
Hello
This is manikumar. I am new to the web developement.
How can we validate a date in javascript
|
|
|
|
|
|
|
Sir, this is what I have for now. But I am thinking about some thing magical (you know what i mean)
do you have any idea.
Help people,so poeple can help you.
|
|
|
|
|
Magical? No I don't think I know what you're talking about.
Please explain!
|
|
|
|