So would anyone be able to point me in the direction of some sort of password box that would trigger a loading/progress bar?
what
okay so the person i'm doing it for wants something like this
*enter password*
correct password gets entered
*beginning upload*
*upload complete*
You could try something like:
*user enters password*
*user is shown progress bar*
*progress is updated*
*progress bar is hidden*
But on a serious side, you asked the same question in the "Questions that don't need their own thread" thread, and you still made a thread... chances are that what you asked wasn't really detailed to begin with, and making a thread will not change anything unless you actually explain what you want.
( And what you told us so far doesn't seem really conclusive, I on my side am still puzzled about what exactly you want to be helped with. )
You're able to do this using Jquery, make a $.post or $.ajax request with password being sent to an external .php page. for e.g.
[code]
$.post('login.php',function(data) {
if(data == "success") {
yourFunc();
}
});
[/code]
on the login.php page make it print out "success" when the password is accepted. I'm aware there are much better methods to do this, just my input.
[QUOTE=kragmars102;38379387]You're able to do this using Jquery, make a $.post or $.ajax request with password being sent to an external .php page. for e.g.
[code]
$.post('login.php',function(data) {
if(data == "success") {
yourFunc();
}
});
[/code]
on the login.php page make it print out "success" when the password is accepted. I'm aware there are much better methods to do this, just my input.[/QUOTE]
What's stopping me from just calling "yourFunc()"? What's stopping me from auto-responding "success" for login.php using a program such as Fiddler2?
[QUOTE=h2ooooooo;38380769]What's stopping me from just calling "yourFunc()"? What's stopping me from auto-responding "success" for login.php using a program such as Fiddler2?[/QUOTE]
That would not change what the server processes.
[url]http://jsfiddle.net/vjNpj/[/url]
just update the width percent through jquery, and there ya go, a loading bar. change css to make it look more like you want it.
Sorry, you need to Log In to post a reply to this thread.