JavaScript Forum JS Made Easy: Free JavaScripts Tutorials Example Code
About This Product
FontsMadeEasy.com
 
The Business Internet
Find it on This page:
 
| Over 5000 Free Fonts | Tutorials | Javascript Forum | Other Javascript Resources | Cheat Sheet

       
Jsmadeeasy Forums Home   Search   Login   Register   Member List  

 Search
   
  

Viewing Page 1. More matches available? Yes
Prev Next
1.Re: How can I use a variable in the src-attribute of the <script>-tag?
Posted by admin on 8/17/2004 9:49:20 AM
You also can use this code:

<script type="text/javascript">
var js_file = "file.js";
document.writeln('<script type="text/javascript" src="' + js_file + '"');
</script>
2.Re: javascript read directory?
Posted by admin on 8/2/2004 10:45:22 AM
no
3.JavaScript - Frequently Asked Questions
Posted by admin on 7/30/2004 11:30:41 AM
Index:

1. How do I debug JavaScript as used on a webpage?
2. How do you read, write, delete and detect support for cookies?
3. What are the limits on cookies?
4. What is Javascript good for?
5. How do I format a number so that it always has two decimals?
6. How do I trim whitespace from the beginning and end of a string?
7. Why does parseInt('08') generate 0?
8. How do I read/write files?
9. How do I get multiple ...
4.Re:
Posted by Admin on 4/23/2002 4:42:00 PM
They all will have different ones. I dont think you will find universal one.

However all you have to do is check the clients browsers and then just do simple case and show appropriate command.

Steve

5.Re:
Posted by Admin on 4/23/2002 4:40:00 PM
The Javascript Print() Function only opens the print dialog box on the clients machine.

The user then can easyly choose between all the printers he/she has installed.

It has nothing to do with the Print() function.

Steve

6.Re:
Posted by Admin on 4/23/2002 4:38:00 PM
Gregory

You are better off using ASP session variables for this kind of stuff.

check out session variables or cookies may also work for you.

Steve

7.Re:
Posted by Admin on 3/14/2002 9:49:00 AM
Try this :-)

&lt;input type="text" name="email" style="border: solid 1px; border-color: white;"&gt;

However this code will not work in Netscape. Not all CSS atributes are compatible with Netscape.

Steve

8.Re:
Posted by Admin on 3/14/2002 9:46:00 AM
Try This :-)

&lt;BODY BGCOLOR="FFFFFF" link="#FF9900" vlink="#FF9900" alink="#FF9900" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" border="0"&gt;



9.Re:
Posted by Admin on 3/4/2002 3:55:00 PM
unfortinately i dont know how to help you.

But I would love to know how to do that.

I had the similar problem and it never got resolved.
So If anyone knows how to help us. I would really appriciate. It.

Thanks


10.Re:
Posted by Admin on 2/27/2002 10:37:00 AM
Hey,

I had to embed asp into js variables once and this is how i did it.

I dont know how to get ASP to recognize js variables however You can get JS to recognize ASP variables. for example

&lt;script language="javascript"&gt;
function myFunc(){
tempURL = "Existing|Customer_Check.asp?AgentName"
URL = tempURL+&lt;%=ASPVariable%&gt;+"the rest of the url"
or
URL ...
11.Re:
Posted by Admin on 2/26/2002 10:22:00 AM
try this:

&lt;form name="frm"&gt;
&lt;input type="button" value="First Button" onclick="MyFirstFunc()"&gt;

function MyFirstFunc()
tempvar = false
... do validation
if validation is good then tempvar = true
if tempvar = true then
MySecondFunc()
else return false

I think this should work


12.Re:
Posted by Admin on 2/26/2002 1:01:00 AM
I like the suggestion MostCS gave. I might change some of my form submitions.

here is how I do it now in my ASP files.

&lt;%Response.Expires = 0%&gt;

this will not allow the page be cached.


13.Re:
Posted by Admin on 2/22/2002 9:40:00 PM
change this
form.action = URL;
to
document.frmName.submit


or you can try this:

document.location = URL

hope this helps


14.Re:
Posted by Admin on 2/22/2002 9:34:00 PM
What do you use to get the records out of the db??

can i see sample code or sample page?


15.Re:
Posted by Admin on 2/22/2002 9:32:00 PM
Here is what you do.

function validate(){
validation goes here
if validation is good then
document.formname.submit() = "/filename.asp"
else
return false dont submit
}


with this code do not put onsubmit in the &lt;form&gt; tag.

&lt;input type=checkbox name="sample" Onclick=validate()&gt;

See if this helps

16.Re:
Posted by Admin on 2/21/2002 5:02:00 PM
Opps you said checkbox not radio here is the one for the checkbox
&lt;form name="frm"&gt;
&lt;input type="checkbox" name="test" onclick="javascript:document.frm.submit();"&gt;
&lt;/form&gt;

I am not sure if this matters to you or not but pay attention that since I am raising "Onclick" event the form will be submited even if the user is trying to uncheck the box.

17.Re:
Posted by Admin on 2/21/2002 4:59:00 PM
Try This
&lt;form name="frm"&gt;
&lt;input type="radio" name="test" onclick="javascript:document.frm.submit();"&gt;
&lt;/form&gt;

Hope this helps.

Steve

18.Re:
Posted by Admin on 2/20/2002 12:35:00 PM
Hey garybrazil,

I looked at the link but its a blank HTM page. There is nothing in source code.

Perhaps you can give me another page to look at?



19.Re:
Posted by Admin on 2/19/2002 12:51:00 AM
Hey,
I was just browsing the site here and I found something that might help you
Check it out:

[url]http://www.jsmadeeasy.com/javascripts/User%20Details/Must%20Visit%20From/index.htm[/url]

Let me know if it works.

Steve

20.Re:
Posted by Admin on 2/15/2002 3:22:00 AM
[url]http://www.jsmadeeasy.com/javascripts/Messages/Print%20Page/index.htm[/url]

Here is a sample script that has a print button.

You should try to see if your script runs on different computers, maybe your computer is the problem?



21.Re:
Posted by Admin on 2/15/2002 3:17:00 AM
You may also have another problem with
window.location

It does not work in netscape.

Do you have an option of using ASP??


22.Re:
Posted by Admin on 2/15/2002 3:13:00 AM
Hi Kozak98,

[url]http://www.jsmadeeasy.com/javascripts/Forms/Country%20Chooser/index.htm[/url]

This script changes the content of one menu based on the selection of another.

I think you can use the same technique with dadio buttons.

Steve

23.Re:
Posted by Admin on 2/13/2002 11:15:00 AM
Hi thymes,

I found your problem.

Go to yur code and find this line:
// End --&gt;}
&lt;/SCRIPT&gt;


Change it to
}
// End --&gt;
&lt;/SCRIPT&gt;


Let me know if it still doesnt work.

24.Re:
Posted by Admin on 2/12/2002 6:08:00 PM
Belinda.

I'd Like to see a sample of what you are talking about.

If you have .asp page and you are validating on "submit" this is wrong.
What you want to have is a button and rase an onClick event
and once your fields are validated you can submit in your javascript code. document.submit()

I'd love to help you if you show me the site so I can better understand what you are talking about.

Thanks
25.Re:
Posted by Admin on 2/11/2002 11:55:00 AM
Consider Using Cookies.

On the page where the link should exist place cookies and then check for them on the page that is supposed to be blind.


Hope this helps.

Prev Next