jianbo:
To make a checkbox readonly use the following bit of code in the onClick event of the checkbox:
OnClick="if (true == true) return false;"
Of course where the true == true you would put your variable to check against and if it is readonly, the user would not be able to check...
To All:
On my window_beforeunload, I fire an event which opens a new window and runs the following code to determine if the user is leaving my site:
function CheckStatus()
{
try
{
var mystring = new String(window.opener.location.href);
mystring = mystring.toLowerCase()...
During my save routine using remote scripting, I pop up a new window filled with error messages (child window) and then I reload the main (parent) window, but how to I set focus back to the child window??? Is this possible.
TIA,
Patrick
aolb:
I use text fields to store xml....here is what I do:
.Parameters.Append .CreateParameter("txtXMLString", adLongVarWChar, adParamInput, Len(strSQL))
.Parameters.Item("txtXMLString").AppendChunk strSQL
I hope this helps,
[yinyang]
Patrick
samyiel:
What is the permission of the IUSR_"computername" on the above mentioned folders. This might or might not be the problem.
Thanks,
[yinyang]
Patrick
4345487:
Here you go...sorry about that
<HTML>
<HEAD>
<SCRIPT language="javascript">
function testitem()
{
document.getElementById("company").style.color = 'red';
/*id = document.aForm.aText.id;
pos =...
cisco999:
The page most likely is cached on your machine because you previously did not have caching turned on. Hit Ctrl-F5, this will refresh your page.
[yinyang]
Patrick
4345487:
You can use the following javascript to change the color:
document.forms["formname"].spanname.style.backgroundColor = red;
[yinyang]
Patrick
nospace52:
Just add the following in between the head tags of your html page:
<META HTTP-EQUIV="Refresh" CONTENT="5; URL=urlname">
I hope this helps,
[yinyang]
Patrick
Skittle:
There is no way to limit the amount of text entered. The only fix would be an event that is fired on the submit of the form to make sure the number of characters does not exceed a certain amount:
function CheckLength(maxchars){...
biktoryah:
Server side code is always executed before client-side. The only way to call a server-side function from client side is to use either Remote-Scripting. Here is a great article on that technology:
http://developer.apple.com/internet/javascript/iframe.html
Another way is to...
sipps:
This behavior you are experiencing is by default. No where on the web have I found a popup object to appear "in-front" of select lists. The only way around this is to re-arrange your page.
I hope this helps,
[yinyang]
Patrick
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.