Is there a way to tell the browser to look down a list of image URLs until it finds one that works? Pure HTML would be preferred, but I'm guessing JavaScript is probably necessary here (I'm already using JQuery, so it's not an issue).
EDIT: Thanks for your answers! I'll add a few clarifications:
By "works" I mean the image can be di...
There is a number of Flash and AJAX based uploaders around. I need a file upload component for an existing form in an existinc application, so I have very specific requirements for it. Maybe somebody knows one off the top of their head and saves me a lot of research.
I need a file upload component that has a progress bar and "upload" bu...
Hello,
my question is about programming best practice when using the Struts Validator Plugin.
I have a form containing many fields, some of which have to be validated on submission through the Struts plug-in, and some must not be validated.
As a new user to this, I thought it would be good to use the special tags provided by Struts ...
One business goal requires that I make a form on screen that's pixel-perfect. If a user prints this form, it will exactly match the US Government Printing Office version of the form; the printer will produce a (reasonably) scannable copy of this document. The previous solution is PDF, which will only work to a certain point for us.
I'...
I clicked on it and the form is submited, along with a query string appended like x=1&y=2 to the url targetted by the form's action.
Why?
...
Hi, I have the following HTMl:
<input id="brandID" name="brandID" type="hidden" value="" />
<select id="selectList" class="textfield70pc" name="selectList">
<option selected="" value="221">A</option>
<option value="4673">B</option>
</select>
Upon changing the value of a select box, I need to populate this input field.
I've tr...
I have a lot of CSS that does the following:
font-family: Helvetica, Arial, sans-serif;
It my understanding that Helvetica is the default sans-serif font on Mac and Arial is the default sans-serif font on Windows ... if that's the case, couldn't I just change the above code to be:
font-family: sans-serif;
Yes, no?
...
I'm pretty much at my wits end with this issue. I've been searching for a while and though I find many posts with people having the same issue as me, I'm not finding any answers or solutions to these posts.
The problem is this: We have a PDF viewer embedded on a report site. The user has the option to view the PDF in the browswer or to...
Hi ,
I have a page refresh if a user is not logged in using sessions which works fine.
But when I submit data with a form is goes to the link for a non-logged in user to tell them to login.
I need the form once submitted to go to a different link completely
How can I do this ?
The form code is :
<form enctype="multipart/form-data...
Hello all,
I would like to know the paths of certain files that a user is about to upload using my form. I know this isn't allowed using JavaScript for secruity reasons but the system I am building is an internal one for staff. Is there maybe a JavaScript certificate or something that I can place on our servers to say that I can do this...
Some online websites like to encode all their text through HTML entities, so instead of seeing a text
like
So I'm looking
You get something like:
So I'm looking 
I was wondering if there's a built in way to translate the encoded text to regular text using any
Emac...
The default lower-alpha list type for ordered list uses a dot '.'. Is there a way to use a right parenthesis instead like a)... b) ..etc?
...
I have an IFRAME on my web site. It's about 300px wide by 200px tall (but has about 1000+px tall worth of content.
The IFRAME is scrollable.
What I want to do is have a small transparent (alpha) gradient always at the top/bottom inside of the IFRANE regardless of where the user has scrolled.
So that, whenever a user scrolls verticall...
Hi.
SHORT VERSION OF QUESTION:
So basically my question is: How can I set the javascript to use UTF-8 so that å ä ö are supported, so my javascript can add the correct values to the drop list options?
LONGER EXPLANATION:
Im using javascript to fill 'options' in a drop down list on my main page.
The drop down lists are in a form which ca...
I'm looking for a way to grab a piece of markup that is in a 1000+ html files published on unix servers (running via apache) and replace the markup with either empty nodes or alternate html markup.
ex:
Find
<div id="someComponent"> .....{a bunch of interior markup} .... </div>
Replace with {empty}
ex 2:
Find </div></body>
Replac...
My code is in an iframe from a different domain, and I want to trigger a page refresh on the parent after changing the fragment of the URL (also of the parent).
It happens on IE, but not on Firefox. Is there any way of doing it without changing the outer document (polling e.g.)?
<a href="http://top.domain.com/#fragment" target="_top">c...
I am having a search text box. In that box, I want to store the previous search value when the page is loaded next time. For that i created session for the textbox value when the search button is clicked. But i dont know how to replace the session value in the textbox when the page is next loaded. Help me. Any help will be highly appreci...
What characteristics must a page element have for it to be able to accept an item that has been dragged from the favourites bar?
...
I have an HTML input text field.
How can I perform a specific JavaScript call when hitting "Enter" button while editing that field? Currently, hitting "Enter" reloads the entire page, presumably due to submitting the entire form.
NOTE: This HTML/JS code is merely included as a portlet into a large HTML page for a portal, which has one...
Hi,
I have a problem with the floating side panel. It looks ok in Firefox but i think its being push by somthing in IE as it appears at the bottom on the page.
The url is: www.sellandrentbackhouse.co.uk
I have tried making the blog look the same as the websites but this appears pushed out even in firefox. I cant find out whats wrong...