No, this constant accessing of the hd is causing my pc to run slower--not something acceptable to me.
Anyway, after reading wylsyp's post, I downloaded "Process Viewer", and I tried killing things at random. It appears that killing MSGSRV32.exe worked. Now the question is, is...
This is appearing intermittently. The mouse pointer turns into the hourglass about every two seconds (hd light comes on), stays on the hourglass for a couple of seconds, then back to the pointer. I've closed out all unneccesary programs, with only Explorer and Sys Tray open. Any ideas why...
Just a question...Stewart, did you actually try putting the alert inside your function to make sure? Rick's script works fine for me. Maybe the problem is the function itself??
If you want the textboxes added to the same page, change this line:
document.write(''+ name+'<INPUT TYPE="text" NAME="'+ name+'"><BR>');
to this:
textBoxes.innerHTML += '<input type="text" name="' + name +'" class=txtbx><BR>'
OK, mickywall, I see what you're talking about on onpt's version. Just a typo is all.
for (count = 0; count = num; count++)
should be
(count = 0; count < num; count++)
Further, I see a waste of code in my function. "userEntry--;" is not needed if you change the loop test condition...
Since you asked, I messed with it a little more. This way will give you unique names (an issue with my first entry that onpt pointed out). And, this time I included the form as well.
function makeBoxes(userEntry)
{
var i;
userEntry--;
for (i=0;i<=userEntry;i++)
{
var...
It aint easy being green, heheh.
Onpt, I'm giving you a star for showing me a better way. Unfortunately, I've not gotten to the innerHTML property in my studies yet. I'm getting there, though. Keep up the good work.
Try using this function:
function makeBoxes(userEntry)//passed from text box
{
var i;
userEntry--;
for (i=0;i<=userEntry;i++)
{
document.write('<INPUT TYPE="text"
NAME=userBoxes[i]>');
}
}
Thanks. I actually stumbled across this trying to answer another post on this site. I'm still learning, but this site is certainly helping that along. It's much better than dry textbook questions.
Try this...
function move()
{
window.location.replace("new URL");
}
That should remove the old index file from history. (Unless I've missed something...seems to work for me.)
New to JavaScript, so I'm not familiar with the way you're doing it. However, using an escape sequence including the hex #s, you can get the result you're looking for. Try this:
window.alert("Aten\xE7\xE3o");
Good luck.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.