15,700 Topics
![]() | |
I want to make sure at least 3 characters are entered into a search field. For example I dont want this to go by where it has spaces in beginning and space between 2 characters: [code] a b [/code] Is there a regular expression or someway to trim the spaces … | |
If I have the following code: <form> . . . <select id="lstOtherStuff" multiple="multiple" size="6" style="width:200px;"> </select> </form> and I need to pass the variable "1stOtherStuff" (which is an element in an array) to a PHP script, how do I do that? If I use the following code, I can access … | |
An item is selected from a list and then used as a variable in a PHP script to identify and retrieve some data from a specific record in a MySQL database. Here's the code for the select script (first a javascript external file, then an html file) : [code=JavaScript]/* This … | |
Hello, I am designing my website and I want people visiting my site to be able to submit a form. However, if they submit a form, I would like to require certain information to be submitted. I got a script from Dynamic Drive that is supposed to do that but … | |
Good Day! Please help with my requirement, I'm more on a graphic designer and has little knowledge in programing, mostly on basic html only. I have a web page I created in Flash and exported to an html page. I need this to have a predefined username / password (pass … | |
Hi All. Having a little problem I would like some help with. Using Mootools v.1.2 to make an accordion on my page. And it works fine. But I would like it to go the top of the element you clicked on (like it had an anchor). Right now if the … | |
I just created a new JavaScript framework: [URL="http://june-js.com/default.aspx"]JUNE[/URL] I'd really appreciate your feedback! It has great support for Event handling, DOM manipulation and AJAX. Also, it contains a set of 8 of the most used widgets on the web, such: Accordion, TabControl, etc. Thank you! | |
Hi. I am unable to create file object from javascript in Vista platform. ex. i am using this statement javascript var oFso = new ActiveXObject("Scripting.FileSystemObject"); after executing this and make try catch block for this i am getting this error "Automation object can't create object". I have enabled some options … | |
I'm having one heck of a time trying to match a tag. It looks right to me (and checks out in all of the Regex Tester webapps I've tried) but does not work when I put it to use. The following is the code (with site address and name replaced … | |
I'm new to Javascript and found some code on the internet that's supposed to create some nested select boxes. Here is the code: [code=html]<html> <head>Some testing</head> <script type="text/javascript" //src="http://trac.mochikit.com/browser/mochikit/trunk/packed/MochiKit/MochiKit.js?rev=1256&format=raw"></script> <script type="text/javascript"> /* <![CDATA[ */ // An array of the currently visible selects var level_selects = new Array(); connect(window, 'onload', function … | |
Hi all, I am in the process of creating a web page.The page consists of a form where it will ask the users to give the input values(all values in integers).Those values should be passed and the values should be calculated. I have the wsdl file from the client.I need … | |
Hi, I want to write the below javascript code into my JSP page directly...Can you please help? JSP code... [code=JSP]<span class="mini"> <html:link href="#" styleClass="bouton" onclick="return submit_form_with_parameters('delegationForm', 'delegation', 'noInit=Y');"> <bean:message key="rh2u.deleg.label.etape0.label.chercher" /> </html:link> </span>[/code] JavaScript code... [code]function submit_form_with_parameters(strFormName, strAction, parameters){ objForm = eval("document." + strFormName); objForm.action = strAction + ".do?" + … | |
Hi, I'm working on the following code for a google gadget [[URL="http://gravityway.com/gadgets/00"]view gadget[/URL]]. It is kind of neat the way it is, but the question I've got may be obvious, regarding the mouseover function. It needs to break on mouseout. I guess it will need a loop. Any help is … | |
Hi, I designed one intranet website. Now we are updating employee b'day information for that i should design page and uploaded every time. Is there any option exact 12'clock the page automatically has to go live. Thanks in Advance. Cheers...... | |
I am trying to swap an image with 6 guys on a couch for each one sitting individual. And once the individual is showing, display their bio underneath. I can get the image to change and the text to show but when I roll to the next guy the text … | |
HI ALL i have blocked F5 properties ,but i am getting javascript error has access denied where as cursor plased in input type file . plz help me <HTML> <HEAD> <SCRIPT LANGUAGE="JavaScript"> function funtest(event,obj){ var test=window.event.keyCode; if(test=='116') { window.open('t.php',height=300,width=300); window.event.returnValue = false; window.event.cancelBubble = true; window.event.keyCode=0; return false; } else … | |
hi!.........its monto,can you help me writing code for counting the no. of visitor on my website.......thank u | |
Dear All, i have been asked to develop a website either in php or in one of java techonologies ( struts or jsp) the very important point in this site is that it has the following features... 1)the will be used for any purpose ( i mean still now there … | |
I can run the following javascript code succefully in IE browser: <script language="JavaScript" type="text/JavaScript"> document.formname.submit(); </script> this javascript automatically submit the form when running the page. However I have problem in Firefox browser, it's stuck at this code (cannot submit form). Any idea what I need to modify so it … | |
Hi all, I hope someone, or manyones, has something that could help me further my project. I presently operate a website which has over 50 artists, and each one offers 1 to 4 songs in an embedded mp3 player for free streaming. It's all legit, all permissions are obtained prior … | |
Hi... My page contains a grid which has a resize function depending on the size of the window. this page is in other page in an Iframe. Every thing works fine in IE6. but for IE7 the UI gets disturbed when postback takesplace and something is clicked. after clicking anything … | |
Hello there! Is there any way i can change the left side-bar size to zero, on this page: [URL="http://www.tapuz.co.il/Forums2008/ForumPage.aspx?ForumId=168"]http://www.tapuz.co.il/Forums2008/ForumPage.aspx?ForumId=168[/URL] the main goal is to be able to view page without the left side, which has all the banners and so, and also it might streach the right side so the … | |
Hi - Does anyone know of a tutorial that will help me create a simple (just enough to keep out the average surfer) password protection code with a cookie? Here is what I want to do: I offer downloadable image files at my website. Currently they are free to download … | |
Hello, I've got a few <div>'s that are dynamically generated, what I want to do is construct a conditional javascript statement that will set display:none to all empty <div class='policy_text'> for example: if { <div class='policy_text'></div> } then set div.policy_text to display:none; elseif { <div class='policy_text'>text contents.. bla bla</div> } … | |
Hi there, I am very new to AJAX. Just in the learning stage. i am working on an asp application in which AJAX is implemented. The overhead is it is working fine in the production but not in test environment(both browsers are IE only). Through some debugging i found out … | |
Hi everybody! I'm trying to save my web page using javascript. Can anyone please help me write the code for the same. document.execCommand(sCommand [, bUserInterface] [, vValue]) is not working in firefox. If there is any alternative to this code please let me know. Thanks a lots for reading my … | |
hey u all code master...plzz help me...i need complete javascript code whichlist all files that are in a folder......is it possibl;e in javascript or not to list the files..... for exam ..in c:\Books\...i have five file...then i need a javascript code which list all the file on a hml page...... | |
Hi all, I have an aspx file which contains both Javascript & HTML Content. Since IE caches all .js files, i extracted the javascript content from my aspx file into a seperate .js file and referred the same in my aspx too.. [B]<script language="javascript" src="../lorappresultsmanagement/resulttab.js"></script>[/B] Now the problem at runtime … | |
Ok, I know this has to be simple. My Javascript skills are very weak (will become obvious in the code.) What I'm trying to do is use two Submit buttons in a form. The called function I want to send one named variable if one Submit is clicked and another … | |
Hi, thanks for checking this out. Ok so the problem is that I have the following code for trying to get a div to slide down from the top of my page. The problem is that on clicking the button that activates the function I get an error. The error … | |
when i repaint the a div in internet explorer i get a lot of flicker. i repaint all the div objects in the main div. there are no images. only div elements (boxes). not even text. is there a way to reduce this? | |
Is this possible to read or write in javascript.Please help me..... thanks and regards pp | |
Can anyone help me bypass the following codes? [code=JavaScript]<script type="text/javascript"> if (top.location != location) top.location.href = document.location.href; </script>[/code] | |
Hi everybody, is it possible to refresh/reload a webpage from a child page ? I f possible, may I knw the code for that? | |
I'm trying to get some HTML code from a page. The only way to do this that I know of is [CODE=javascript]document.getElementById('id').innerHTML = 'newhtml';[/CODE] But the problem is that the page is taken from the web and it has no IDs to get and I can't modify it by putting … | |
Hello everyone!!!!!!! I am using the following timescript code in master pages for 2 projects in same solution. I need to embed this JS in a common library. My question is: This timeout script redirects to "Timeout.aspx" page after 15 mins of inactivity. Now this path location is different for … | |
Hello, Im very new to Ajax. I have a form with 2 input values , name and date. I have in the same page 3 links to select images, fonts and colours. When an image is selected, the child page closes and the parent page refreshes. Then i can see … | |
<%@page contentType="text/html"%> <%@page import="java.util.*,java.io.*"%> <%! int s; %> <%! int f; %> <% File dir = new File( "D:\\SUMIT GARG\\Excel" ); String[] files = dir.list(); Hashtable hs=new Hashtable(); for(int i=0;i<s.length;i++) { File v1= new File("D:\\SUMIT GARG\\Excel" +s[i]); if(v1.isFile()) { hs.put(f.lastModified(),file); } } Vector v=new Vector(hs.keySet()); Collections.sort(v); if(v.size()>10) v.setSize(10); Iterator it=v.iterator(); … | |
Hello all, I'm using AJAX to populate a div tag in my HTML when a drop down list item is selected. It works perfectly in Safari, Firefox, Opera, but fails in IE. The responseText just comes back blank from the php script. Here's the Javascript it has to deal with: … | |
i am trying to resize a button using the following code and it has had no effect on the button it has remained the same size. [CODE]<button style="width:126" style="height:29" onclick="history.go(0)" ><img src="admin/images/reset_btn.gif" /></button>[/CODE] | |
i have set up a page with some button on which load different pages up. the buttons are held within a form and the target is set to blank. this part is fine for the first set of buttons but i need one of them to reload the page but … | |
Dear all, me new to this xml..i need detailed codings for converting excel sheet into xml file. Thnks in advance | |
Hello Everyone Im a begginer in HTML and I have to make a Quiz page. and when the visitor finish from choosing the questions and clicking on " finish", the results & the grades will appear in the " Result's page " . I want something very simple. And I … | |
i want to submit values from one web page to another web page , using javascript this is a shopping cart program, a user selects items he/she wishes by checking the checkboxes provided. then all these should go on to a shopping cart which is in another page. and my … | |
Hi all I want a sample [B][COLOR="Red"]web service invocation program using java script[/COLOR][/B].Can anyone provide me? The program should simply get inputs from the user and once the user clicks the "Calculate" or "Submit",it should invoke a web service that is containing the implementation code and the result from the … | |
everything is fine on my computer except all java windown in internet explorer will not work. On many websites i cannot click on links. No videos will play...for example youtube videos. i need to know how to fix just this problem, or just to completly restore windows to its original … | |
Hi Everybody! How are you doing? I've come across a problem which I'm unable to solve. Actually itz related to window.opener method in javascript. The problem is the code which is very well working in IE is not working in Firefox. Let me provide the code which will help you … | |
In my jsp page , there is one listbox which contains static items, in that particularly one item is there(Bank A/c) if we select that have to open new subwindow and disable the maximize,close button, and i have to put some 4 textboxed entering data , in that one value … | |
I was reading the following article about creating 'on-demand' ajax calls to javascript functions' so that basically your scripts are only called when needed, which meand your pages load faster. However Im very confused about exactly how to implement this on my site. I have download the two main js … |
The End.