15,121 Topics
| |
Hi I have an iframe on a page, i am using a javascript to resize the iframe so that there isnt a scroll bar. However, when I print the page, depending on the browser, different things happen. So far, Google Chrome is the only one that pulls it off... FireFox … | |
Hi all I made a email form in html coding. I want to add a feature And cant figure out how it do it. I want a field that when the click onit it will make a popup window for the imput of the field. Example Address ______________ when they … | |
Hi there, I need to show and hide functionality through javascript , how can I achieve this. If I click on a dash link then show particular section and if I click again then it should be hide. Is there is any script I can use? Please reply. | |
hi, my project is based on ajax. my problem is project is not running properly, plz help me my code is [code=javascript]req=false; function setreq(){ try { // Firefox, Opera 8.0+, Safari return new XMLHttpRequest(); } catch (e) { // Internet Explorer try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { … | |
Hi, I need to search for strings and retrieve it and display. Using Regular Expression i tried but my need is that : For example if i need to search for country names when the use enters only first 2 or 3 letters it should return back the names starting … | |
Hey. For some odd reason, event.clientX and event.clientY don't work in safari in mac os x leopard. They used to, but it appears it cannot find the object "event". URL: [url]http://71.193.112.221:8888/tools/jos2/[/url] In the file windowsxp.js (don't get confused with windowsxp.jos), the movecursor() function moves the cursor div. It works, but … | |
Hi. I want to add new ROW, which includes three TD as follow: 1. <td> caption </td> 2. <td> textfield </td> 3. <td> button </td> that should be mentioned that each textfield should have different id, and name started from one and go on. I figured out something, but two … | |
Hi, I need to indent text of textarea control with either bullets or numbers How can we achieve this in javascript. Any help will be greatly appreciated. Thanks in advance | |
hello Question: i get "Access denied" error.Can anyone convert the code below in JSON i need to access data from some other domain. OR any other fully explained efficient method to access cross domains plz. ---------js file-------------- [code=JavaScript]window.onload=makeRequest; function makeRequest() { var http_request={}; if (window.XMLHttpRequest) { // Mozilla, Safari,... http_request … | |
Hi, I have an input text box that I want to change the type from text to password and I wrote code that works in Firefox but not in IE any suggestions? Here is the code(cut down a little for easier reading): [CODE] <form class="formstyle"> [INDENT]<input name="password" type="text" value="Enter Password" … | |
Hi, How can i improve image quality on resizing it by mouse dragging. I need to do this using javascript. Can we achieve this using some scale factors. I have no idea. Any help will be greatly appreciated Please let me know in this. Thanks in advance | |
hi, iam having an application in which i need to validate all the fileds present above a particular field when user clicks on any field present in a page.similar to this link [url]http://my.naukri.com/manager/createa...cp=5424&wExp=N[/url] is this possible using javascript. can we use javascript to achieve this functionality. if thru javascript it … | |
Hello, I have a little question. Lets say I have string: string g="ZOMGGGG"; and a Boolean var: bool S; so in C# if I write S=g.contains("GGGG"); and I get true if it contains else false. How do I use that in JavaScript? Thank You! JC | |
How do I get this to count from the "startnumber" I chose to the "endnumber" I chose? I got it to count from 1 to the end number, but I don't know how to get it to print from the number I choose like 4 to 10. [code] <HTML> <head> … | |
plzzz som1 help me vid this...I m a new bee in advance java field. I have mapped my sql exception in web.xml and display an error.jsp page. This works with mozilla but not vid IE. What should i do?? | |
Ive written an image preloading script but Im not sure if it would work. Could someone look at it and just clear up wether it should work or not [CODE]<html> <head> <script type="text/javascript"> function preloader() { // counter var i = 0; // create object imageObj = new Image(); // … | |
i have some script java script which is working but i want to do it some thing else [CODE]<script type="text/JavaScript"> function validate_required(field,alerttxt) { with (field) { if (value==null||value=="") { alert(alerttxt);return false; } else { return true; } } } function validate_form(thisform) { with (thisform) { if (validate_required(email,"Email must be filled … | |
Context: I have a a framed page which have two frames. First frame have two iframes and second frame also have two iframes. Each iframe have a form to add record. Each forms have some fields to enter data. To show the layout of the page, I have created a … | |
Hi, I have written the following code that makes the DIV fall down from the top of the page to a certain point E.G. 200 pixels from the top of the page however, I want the DIV to appear 200 pixles from the top of the page wherever the user … | |
Hi. I have a site with a table, connected to a DB. If there is a connection, the table will show rows and data from DB. If not, It will write "no input in DB", and I will have a popup window link. By opening the popup and then filling … | |
Can any one tell me the better and professional way to dynamically add row to an HTML table. Currently I am using insertRow() function. | |
this is dynamic rows code.when i click remove(-) any row i need to get respective checkbox id; for example when i delete row3 i need to get checkbox id as houseCheck3;when i delete row2 i need to get checkbox id as houseCheck2; once i get the id of that checkbox … | |
please help me i got some problem with my code. my drop down lists which displays a text box when a selection is made, does not display an input in a database when i write a text in the text box. [code=html] <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> <!-- function showHideSelection() { if … | |
Hello All, I was wondering if anyone could help me. I am having trouble getting the text area on my site place in the area I want. The page looks fine when the web browser window is fully expanded, but the alignment messes up when the window is condensed , … | |
I was wondering if anyone was aware of a script that would reccomend products from a list on another individual products page? I would like something that will list three products that a customer might be interested in when they are viewing an item on my site. I have an … | |
Hi, all. I am implementing the final now. Here is one jquery syntax i want to ask. I have been stuck by this problem more than hours. Here is what i did HTML part [CODE = html] <table> <tr> <td> table head </td> </tr> <tr id="mytr">//here i want to get … | |
Hi guys, I am using a following code. I am using if condition but it is not working fine. [code] if(Request.responseText == "test") { window.location.href="home.php"; } else { document.getElementById("signup_result").innerHTML=Request.responseText; }[/code] I tried to alert the Request.responseText value it is "test" but condition is always false and control goes to else … | |
Hi i'm a newbe to javascript and i would like to create a function which will allow me to insert additional row to html table after every x rows. I appreciate every idea | |
Write a JavaScript/HTML program that inputs two integers a and b in an input text box, and outputs all odd numbers between a and b (a and b are expected to be between 1 and 30, and a<b) Can somebody help me with the source code for the .html file … | |
I am trying to use [URL="http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm"]Accordion Content script v1.7[/URL] from DynamicDrive.com on some pages. I have set up a [URL="http://www.f1d.com/test_expand_div.html"]test page[/URL] to show the error messages. I have changed the doctype of the page several times, including the exact one they use on the sample/instruction page on DD, but no … |
The End.