Sorry my bug.
In the WriteDarioButtons function you need to change the array[randOption].... line to :
array[randOption] = array[array.length - 1]
Kev
[afro2]
Nice and easy change or add the following lines :
1-Add a new array
var NewOptions = ["OTHER","OPTIONS"];
2-Change the writeRadioButton function to :
function writeRadioButton(name, array) {
while (array.length > 0) {
var randOption = rand(array.length)...
can you send html you are using (example of working and not)....think this is URL problem...quick look and we'll sort out.
Also if you can post the image somewhere I look at that too.
Kev
[afro2]
OK this may look a bit weird (mainly because you need the random number functions) but this should work
<SCRIPT>
var arrayOfOptions = ["10","11","13","14", "anything"];
rnd.today=new Date();
rnd.seed=rnd.today.getTime();
function rnd() {...
It is showing you "c_type,Any" because that is a text representation of the string array. If you just want the second tokenized string you need to change tempstring2 to :
tempstring2 = tempstring.split('=')[1];
Hope that helps,
Kev
[afro2]
palbano,
Depends what you mean. Can't do this level of handling up until NS6 but can over-ride onerror event, which can show if you like.
try ... catch was added in JS1.4 for NS6
try ... catch with multiple catches was added in JS1.5 for NS6
Hope this is what you ment.
Kev
[Afro2]
Looking into this but not familiar with JBoss. What I can is tell you what I am looking into to hopefully help your search.
Generally if you want traffic encrypted over the net you neet to set up SSL for https communication usually on port 443. Finding small amounts of info about transport...
It is for error catching seen frequently in Java (not that common in Javascript).
It says try {to set the document title to 'Misc General Merchandise'} and if an error occurs catch it (store error information in E) {and do nothing}
i.e.
try {
normal code that could go wrong
} catch...
The problem is that you should only have width=60 in the column headers e.g.:
<th><font color=white width=60>LCASH</th>
and not in the <td>s...so they would be something like:
<td align=right nowrap>0.00</td>
<td align=right nowrap>1645.00</td>
etc.
That will sort it,
Kev
[afro2]
P.S...
Hi,
May not have enough info here to fix but try removing quotes and ()
var sNoteOnClickJs = 'showDetails()';
This means sNoteOnClickJs is a string, try :
var sNoteOnClickJs = showDetails;
If this doesn't work cam you post more.
Kev
[afro2]
Two alternatives:
You can make a function to construct a URL like this :
function submitForm(form) {
var myURL = 'formtest2.asp?sometext=' + escape(form.sometext.value) + "&sometext2=" + ....etc
return myURL;
}
and make the change to form to...
Ooopss...sorry test script.... here is the real one:
<HTML>
<SCRIPT>
function postLoad() {
if (document.all)
myImage = this.LoadLater;
else
myImage = document.LoadLater;
myImage.src="Img1.jpg";
}
</SCRIPT>
<BODY onload="alert('Document...
Because a pages onload event does not fire until all other parts in the page have loaded you could set you IMG tag not to have SRC and then set the source on load. There is a problem with Netscape that mean that you would have to specific the size of the image you want to appear (otherwise it...
OK,
Never seen this before and took a while to work through but this is how it was done.
Firstly it will only work in IE4 and above. It is not avaliable in NS.
The effect is done through CSS backgrounds and filters. Each menu item is in a class that has a black background for a link and a...
Before the code...just give a couple of pointers (hope it helps).
Although constructers obviously return something they sound not have anything between public and functionName. This is a special case that only applies to constructors.
If you define a property to have a "_" at the...
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.