I have a drop down box (select) in my website: [URL] that works fine; but the problems is if the user click on a wrong option, it will show a box and if the user click on another option from the box, the last one will be on display and won't go off..
Like this select something and then at the same box change the selection you will see the code will build up boxes on the screen.. How I do for it not happens if the user change the option in the last box, the one before disappears!
I am creating dynamic questions and question's choices (radiobuttons or checkboxes) from database when runtime..after users answer the question, press next button to pass the next questions
For example 1) Question definition a)choice definition b)choice definition c)....
Users have to choose any choices..if not, my system is giving alert, Actually my problem is about checkboxes. I created hidden textboxes, if question choices' type is checkbox. So the last choice definition is name "Other". If user checks the other choice, the hidden textbox is going to be visible. It is all okay until here. I want to give a error alert if user checks the other choice and doesn't fill the textbox when press next question. I don't validate this. How can i do it.
I tried the script below in IE 6, 7, and 8 and it all seems to work, but it doesn't work with firefox 3. I'm trying to do a preview to an upload image, pretty much like how kijiji does it. (try it with kijiji if you want to know what I mean).This script shows a thumbnail of the image that is about to be uploaded before the form is submitted.Anybody know how to make this work in all browsers?
Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>
I'm using image as a resizing grip for my element and under IE and Opera it works fine but in Firefox it starts dragging the image when you press mouse button and move mouse and doesn't generate mousemove events. Is there a way to prevent the image from being dragged?
This all works just fine on Firefox (Apple), but on Safari and Mac IE there is a problem. When image-2 replaces image-1 (using MM_swapimage), if image-2 has the same height but a narrower width than image-1, then image-2 appears with image-1's width. Both image-2 and image-1 have the same height, so the display of image-2 now has the wrong aspect ratio (everthing looks "fatter").
I haven't checked Windows browsers yet. I searched around and haven't seen a similar issue. Anyone know about this, and a good workaround?
I'm writing a class that will enable the user to upload files to the server without reloading the current page (using target="iframe"), and it works just fine in Firefox, but when I test it in IE, first of all, the iframe is not targetted at all, and IE stupidly opens a new window, second the <input type="file" element looses it's name attribute for some reason... I tried using DOM and assigning the element thru innerHTML, both will just not work in IE (and will just fine in Firefox). Those interested to have the source code (commented in french) may just ask me. But if anyone had similar problems, and would want to share with me, I'd really much appreciate, because this is driving me insane!
I'm writing script using AJAX and PHP to upload files. I'm trying to create progress bar to show how many bytes have been already uploaded to server.
Can I get the total file size (using JS) before sending it to server or immediately after start sending it?
And how to obtain amount o bytes that have been already transfered to server using JS? I know how to do it in PHP (XMLHttpRequest to php file that counts temporary file size), but is it possible in JS?
I get an error "Error: Form elements must not be named "submit"." when i have a form with the ability to upload files. If a file is selected for upload i get the error, and not when there is no file for upload. why is that? what difference does it make if there is a submit button?
I have very limited knowledge of web design and so even less knowledge of jquery.I have however redesigned my website using some bits if jquery (datepicker in a form, buttons and a tab menu)I've built this using wysiwyg web builder and im uploading it to just host.When I upload none of the jquery shows and all my pages are on top of one another URL..im guessing I have to save jquery in a new folder that has to be created but i'm unsure what.I thought home/username/public_html/twsremovals.co.uk/themes/theme_name/js would work but it hasnt (i have replaced username with my username and the theme name with what the theme is called.
I am uploading text file on html page, that text file lies on desktop and getting updated at every hour. I will keep my html page on server so how will it upload that text file from my desktop ? it is being generated by one cloud sensor .
How to limit file size before uploading it? This script works fine, but you have to configure first your browser to make the alert window appear. Which is not good at all This script only runs in IE6/7/8.
How to make the alert window appear without any browser configurations?
What I want is a simple user input text area and when submit is clicked a placeholder image beneath is exchanged for the proper image based on the user's input. example: User enters re4555 and the image re4555.jpg replaces the image nosel.jpg that I have created which basically says 'no image selected'.
I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to the image. The desired behavior is that when the pop-up is invoked, I want the underlying window to stay put. Code:
I want to give the user possibility to paste an image into a webform. I don't need to display the image, all I need is the image's location.I know it's possible because the guys at CKEditor(and other editors) are doing it. If you go here, [URL] and paste an image you copied and then right click on it and go to image properties you'll see they have the image's address. How can this be done?