Hello,
I'd like to know how to prompt two values with prompt(); function.
I need to get things like 'pass' and 'user, 'article' and 'value', etc
... in a document and I dont want to make a whole html in a pop up to
do it ..
Thanks ! 11 1470
uoL wrote:
Hello,
I'd like to know how to prompt two values with prompt(); function.
I need to get things like 'pass' and 'user, 'article' and 'value', etc
.. in a document and I dont want to make a whole html in a pop up to
do it ..
Thanks !
Hi,
Prompt just gives 1 inputfield. Period.
So you'll have to make 2 prompts, giving the values in sequence.
Or let the user use some character as a seperator, eg:
article;value
Regards,
Erwin Moller
You can't. So you'll have to make a whole html page.
Unless you require the user to type in a "somecharacter" delimited
string and then parse it. Like: "user, pass, article, value". Tho this
ain't an elegant solution.
On Nov 3, 3:05 pm, "uoL" <wmar...@gmail.comwrote:
Hello,
I'd like to know how to prompt two values with prompt(); function.
I need to get things like 'pass' and 'user, 'article' and 'value', etc
.. in a document and I dont want to make a whole html in a pop up to
do it ..
Thanks !
thank you all !
I've made an html form, but i wonder how ftp access form work ..
because i've seen they prompt two values user and pass.
i'll try to research a little more if smb knows plz let me know
Thanks!
whiskey wrote:
You can't. So you'll have to make a whole html page.
Unless you require the user to type in a "somecharacter" delimited
string and then parse it. Like: "user, pass, article, value". Tho this
ain't an elegant solution.
On Nov 3, 3:05 pm, "uoL" <wmar...@gmail.comwrote:
Hello,
I'd like to know how to prompt two values with prompt(); function.
I need to get things like 'pass' and 'user, 'article' and 'value', etc
.. in a document and I dont want to make a whole html in a pop up to
do it ..
Thanks !
uoL a écrit :
Hello,
I'd like to know how to prompt two values with prompt(); function.
I need to get things like 'pass' and 'user, 'article' and 'value', etc
function quest() {
if( art=prompt('Article subject')) {
if(val=prompt('Search value')) {
{ alert(art+'\n'+val); return; }
}
alert('not correctly filled');
}
uoL wrote:
thank you all !
I've made an html form, but i wonder how ftp access form work ..
because i've seen they prompt two values user and pass.
i'll try to research a little more if smb knows plz let me know
Your ftp-program is not written in JavaScript.
Regards,
Erwin Moller
Erwin,
I ment when you enter a ftp site via web browser. the web browser
display some kind of prompt but with two value inputs.
Regards,
uoL
Erwin Moller wrote:
uoL wrote:
thank you all !
I've made an html form, but i wonder how ftp access form work ..
because i've seen they prompt two values user and pass.
i'll try to research a little more if smb knows plz let me know
Your ftp-program is not written in JavaScript.
Regards,
Erwin Moller
Thanks ! that might help ..
ASM wrote:
uoL a écrit :
Hello,
I'd like to know how to prompt two values with prompt(); function.
I need to get things like 'pass' and 'user, 'article' and 'value', etc
function quest() {
if( art=prompt('Article subject')) {
if(val=prompt('Search value')) {
{ alert(art+'\n'+val); return; }
}
alert('not correctly filled');
}
uoL wrote:
Erwin,
I ment when you enter a ftp site via web browser. the web browser
display some kind of prompt but with two value inputs.
Same answer: Your webbrowser is not written in JavaScript, but C(++).
So the ftp-dialog is not created by JavaScript, but it is created by some
build-in function.
Regards,
Erwin Moller
>
Regards,
uoL
Erwin Moller wrote:
>uoL wrote:
thank you all !
I've made an html form, but i wonder how ftp access form work ..
because i've seen they prompt two values user and pass.
i'll try to research a little more if smb knows plz let me know
Your ftp-program is not written in JavaScript.
Regards, Erwin Moller
That prompt isn't accessible from JavaScript. Those things ar generated
by the browser when a page requires authentication (http
authentication, for instance).
On Nov 6, 11:20 am, Erwin Moller
<since_humans_read_this_I_am_spammed_too_m...@spam yourself.comwrote:
uoL wrote:
Erwin,
I ment when you enter a ftp site via web browser. the web browser
display some kind of prompt but with two value inputs.Same answer: Your webbrowser is not written in JavaScript, but C(++).
So the ftp-dialog is not created by JavaScript, but it is created by some
build-in function.
Regards,
Erwin Moller
Regards,
uoL
Erwin Moller wrote:
uoL wrote:
thank you all !
I've made an html form, but i wonder how ftp access form work ..
because i've seen they prompt two values user and pass.
i'll try to research a little more if smb knows plz let me know
Your ftp-program is not written in JavaScript.
Regards,
Erwin Moller
Thank you all .. but i tell you I think javascript should give
programmers this feature of prompting more than one value .. It seems
is obviously usefull.. but I'm also sure there's a good reason for not
implementing such a thing.
Thanks again !
Regards,
uoL
Erwin Moller wrote:
uoL wrote:
Erwin,
I ment when you enter a ftp site via web browser. the web browser
display some kind of prompt but with two value inputs.
Same answer: Your webbrowser is not written in JavaScript, but C(++).
So the ftp-dialog is not created by JavaScript, but it is created by some
build-in function.
Regards,
Erwin Moller
Regards,
uoL
Erwin Moller wrote:
uoL wrote:
thank you all !
I've made an html form, but i wonder how ftp access form work ..
because i've seen they prompt two values user and pass.
i'll try to research a little more if smb knows plz let me know
Your ftp-program is not written in JavaScript.
Regards,
Erwin Moller
I'm also sure there's a good reason for not implementing such a thing.
I wouldn't be so sure about that, however I'm sure there aren't good
reasons to implement such things :-) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Steve Hall |
last post by:
Folks,
My secnario involves two tables - ObservationRegister, and Person.
ObservationRegister contains most of the "useful" fields, including
the UserID of the person that raised the record, and...
|
by: danijela.simunovic |
last post by:
Hi!
Is there a way that when I run a "make table query" and an "append
query" that i won't be asked those 2 or 3 questions from access like
:"you are about to run a make table...","the existing...
|
by: kim |
last post by:
GOOD morning,
I try to open xx.vbs in <href="./xx.vbs"></hef> but it pop up the file
download mesage. How can i disabled it?
I try another solution like this :
set ws =...
|
by: ar |
last post by:
Hello,
In IE I disable "Automatic prompting for file downloads" which causes
the IE information bar to show up when I try to push a file download
from an iframe. I want to keep this behaviour.
...
|
by: Joe |
last post by:
Every time our application starts it prompts the user to allow it access to
the internet because our application is checking for updates. Is there
anyway programically to tell Vista to allow this...
| |
by: jeffkatyspanky |
last post by:
I am prompting for the user to enter an IP address and I can't figure out a cleaner way to re-prompt if the user enters something other than a valid IP address. I'd like to just clear the "bad" entry...
|
by: pavi |
last post by:
Anyone know how to set the Default homepage using javascript without
prompting a pop up.
Below is the code i used to set default home page.
<a href="#"...
|
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= |
last post by:
I have a asp.net page, it uses js to print in IE.
It always has the prompting user window appear.
I have tried:
<input onclick="document.all.WebBrowser.ExecWB(6,6)" type="button"...
|
by: gigonomics |
last post by:
Hi all,
I hope someone can help me out. I need to return the best available seats subject to the constraint that the seats are side by side (or return X consecutive records from a table column...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |