Get a handle on the form element and store it in a variable called "file".
Send the handle to the form element to the server.
I'd suggest that what you want to do is send the file to the server rather than the handle to the form element. Unfortunately there is no easy way to do file-system...
Get rid of the this. at the start. The function changeLinkStyleOn is not a member function of the anchor tag. Same goes for your onClick and onMouseOut handlers.
Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
Webflo
You've only got one post to your name, where and when did you post it in the CSS forums?
This is a CSS issue and easily resolved without resorting to javascript tricks.
Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet...
Permission denied sounds like you're attempting cross-domain scripting which is prevented by the browser's security model.
Are both your container page and the page in your iframe coming from the same domain?
Never be afraid to share your dreams with the world.
There's nothing the world loves...
onclick="top.yourFunctionName(this.href)"
Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
Webflo
theValue = selObj.options[selObj.selectedIndex][!].value[/!];
Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
Webflo
How many machines have you tried it on... you may just have some faulty ram.
Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
Webflo
I know a fellow who's surname is Allbutt.
Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
Webflo
Your text file has a body tag?
Probably not. Which is why it's not able to be recognised by the document object model.
Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
Webflo
I'll assume there's a reasonable explanation as to why you wouldn't simply make the iframe bigger or the picture smaller.
Use the window.scrollBy(intPixelsX, inPixelsY) method to scroll your frame.
Never be afraid to share your dreams with the world.
There's nothing the world loves more than...
Can you periodically check the .src attribute of the iframe. It should change when the form is submitted.
Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
Webflo
What have you tried so far that isn't working?
Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
Webflo
No, it would be done as per my example, storing an array as the value, using array notation.
Cut between the lines:
-----------------------------------------------
myImg[mi] = ['pix' + count, 'comment' + count];
-----------------------------------------------
Never be afraid to share your...
Two dimensional arrays are not explicitly declared anyhow in JS. You can have an array of anything you like... including an array of arrays.
So to store a count, an image name and a comment all in one array you could have something like:
var mainArray = new Array();
mainArray[0] = [1...
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.