15,127 Topics

Member Avatar for
Member Avatar for millsy007

I have a product image that is 4 images 'sewn together' [url]http://www.flickr.com/photos/28033561@N03/3504394261/[/url] I am going to set a div called ProductImage and then have the background of the div set to this image, but with only the top image showing. I then want to have a button for 'more views' …

Member Avatar for millsy007
0
192
Member Avatar for billymcguffin

ok. i am having trouble with this code: [code] <head> <script type="text/javascript"> <!-- function switchPic(picID) { document.getElementById(picID).style.display="none"; } //--> </script> </head> <body> <a href="" onclick="switchPic(_1)">Click Here</a> </body> [/code] when you click the link, it gets the id from the info provided in the link and makes it disappear (thats how …

Member Avatar for billymcguffin
0
3K
Member Avatar for learnerasp

Hi There, I need help badly on the div tags. I dont have much knowledge on div tags I have a div tag in my code and it should be show when there is an inactivity. Its working fine, until today I found a bug. When I scroll my browser …

Member Avatar for billymcguffin
0
116
Member Avatar for learnerasp

Hi All, I need help on this. I am a new bie in javascript When javascript alert is popped up, it doesnot allow us to focus on the window till we click on the alert ok button. Can we do the same when I popup div alert. I have put …

Member Avatar for essential
0
160
Member Avatar for aashishn86

hii!!! i have two forms, the edit and the add transaction form.. In the add transaction form, the user has to attatch a file for which i use <input type=file id="path" > and the path is saved in the database.. now when the user edits the form, i cannot get …

Member Avatar for aashishn86
0
113
Member Avatar for osirion666

[code=javascript] function read() { var numbers = new Array(); for (i = 0; i < field.length; i++) numbers[i] = document.test.checkboxName.value; var counter=0; //Let's print out the elements of the array. for (counter=0; counter<numbers.length; counter++) document.write(numbers[counter] + "<br>"); } [/code] I want to read the values of the checkboxs and store …

Member Avatar for osirion666
0
1K
Member Avatar for lifeworks

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 …

Member Avatar for billymcguffin
0
122
Member Avatar for rbadtke

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 …

Member Avatar for essential
0
68
Member Avatar for coolmind259

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.

Member Avatar for mail2saion
0
101
Member Avatar for rameshreddy

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) { …

0
51
Member Avatar for av11453

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 …

Member Avatar for essential
0
98
Member Avatar for sawmaster

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 …

Member Avatar for sawmaster
0
829
Member Avatar for tanha

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 …

Member Avatar for madristaa
0
522
Member Avatar for sunilsinha

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

Member Avatar for Airshow
0
114
Member Avatar for hannahwill

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 …

Member Avatar for ShawnCplus
0
82
Member Avatar for dpatz

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" …

Member Avatar for dpatz
0
252
Member Avatar for sunilsinha

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

Member Avatar for almostbob
0
180
Member Avatar for Rakesh Nagekar

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 …

Member Avatar for Airshow
0
131
Member Avatar for JooClops

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

Member Avatar for JooClops
0
188
Member Avatar for blahblah619

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> …

Member Avatar for essential
0
80
Member Avatar for pokercoder

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??

0
37
Member Avatar for theimben

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(); // …

Member Avatar for essential
0
299
Member Avatar for m-hrt

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 …

Member Avatar for essential
0
144
Member Avatar for johnvisual

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 …

Member Avatar for essential
0
1K
Member Avatar for samarudge

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 …

0
71
Member Avatar for Andrebr

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 …

0
45
Member Avatar for pritam.sabnis

Can any one tell me the better and professional way to dynamically add row to an HTML table. Currently I am using insertRow() function.

Member Avatar for abhay2247
0
36
Member Avatar for chaituu

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 …

Member Avatar for anish.anick
0
80
Member Avatar for deathlemon

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 …

0
79
Member Avatar for Fishnetandlace

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 , …

Member Avatar for Fishnetandlace
0
107

The End.