17,114 Topics

Member Avatar for
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
181
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
132
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
190
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
81
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
39
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
300
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
146
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
74
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
47
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
37
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
83
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
82
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
110
Member Avatar for #tbone

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 …

Member Avatar for essential
0
350
Member Avatar for shasha821110

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 …

Member Avatar for shasha821110
0
78
Member Avatar for coolmind259

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 …

Member Avatar for ShawnCplus
0
76
Member Avatar for visnia

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

Member Avatar for essential
0
144
Member Avatar for mibit

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 …

Member Avatar for essential
0
121
Member Avatar for cmcooper

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 …

Member Avatar for cmcooper
0
144
Member Avatar for mehdighobakhloo

Hi guys, im having a problem. see, i want to have 2 pull down menus that the options in the second one changes according to the first one. but i dont know how to detect and gain the value changes of the first. thank u.

Member Avatar for vanu
0
233
Member Avatar for rameshreddy

hi, i am fresher, i am working on one project in that,if i click on reg button then registration page displayed on main page of <div>position as it is, but the validations are not working plzz give solution to this, and registration page of validations are working when i runned …

0
41
Member Avatar for anish.anick

Hi All, I have web page where the datas are refreshed by calling Asp.net web service from javascript. I am using javascript setInterval() for updating the datas periodically, also using clearInterval() for stopping this javscript timer. In total the page gets details from 3 different web services. Once the data …

Member Avatar for essential
0
186
Member Avatar for learnerasp

Hi There, I have created a javascript count down timer to be used in asp.net. Thanks to the author of the article for making my life half simple. Basically, I create a countdown time for user to register (20 mins). If the countdown is around 5 min (that means the …

Member Avatar for essential
0
222
Member Avatar for coolmind259

Hi Guys, I need help in country, state drop down list. I am using a dynamic country, state drop down list in a form, the country state drop down works fine if I don't open a form without ajax request. But if I open a form with ajax request then …

0
74
Member Avatar for FisherGraphics

I just started researching this and am not sure if it is possible so I do not have any code yet but thought I'd see what you all thought. I have several images that I want to link from different pages but I also want to have the ability to …

Member Avatar for FisherGraphics
0
172
Member Avatar for suchisuchi07

hi, I need suggestion for this.After a particular option selection in my page,how to replace the rest of the contents of the same page with its response,and too making the select action invisible... can i do it using ajax wit html... for example,i have a select option,where for each option …

Member Avatar for noelthefish
0
83
Member Avatar for jogisarge

hi, i have a problem with JS and the IE8. From a popup i want to redirect the opener with JS: [CODE] <script type=\"text/javascript\"> function siteload() { opener.location.href='www.google.de'; opener.focus(); self.close(); } </script> [/CODE] In IE 6,7 and Firefox 2,3 it works fine. In IE8 the URL ([url]www.google.de[/url]) was opened in …

0
49
Member Avatar for johnvisual

I have a long paragraph which contains almost 2000 words. I want to extract all those words or group of words which are in single quote e.g. In the below sentence, I want to extract 1. is 2. important and 3. topic This [B]'[/B]is[B]'[/B] very [B]'[/B]important[B]'[/B] [B]'[/B]topic[B]'[/B] to discuss Any …

Member Avatar for lucky1981_iway
0
54
Member Avatar for chaituu

i have implemented pagination in jsp.these values will come from DB. checkboxes are there against each record.when user checks 3 records in 1st page and goes to 2nd pages and again comes back to 1st page whatever user checked previously it should be checked.how to maintain this state in javascript …

Member Avatar for Airshow
0
100
Member Avatar for relake

Hi I have a page which has a list displaying 5 images horizontally. Associated with each of these images there is some hidden text which is loaded into a display area by javascript when the image is clicked, at the same time an image that looks like a pointer is …

Member Avatar for relake
0
93
Member Avatar for NuGG

I was wondering if it is possible to print a file with out viewing it first by using a hyperlink on a webpage. Bacically i want users to print off a form (doc file) by clicking a link. eg: -so the hyperlink would be here: kings-head-inn.com/print/linkpage.html -and the doc file …

Member Avatar for essential
0
135
Member Avatar for theimben

I have this code so when a user clicks a div they get taken to another page, just like the <a> tag. However I want it to open in a new page like target="_blank" but I dont know how. this is my code so far. Please help [CODE=html] <div onclick="location.href='http://linky.com';" …

Member Avatar for theimben
0
128
Member Avatar for lucky1981_iway

Hi, I have a web page. In that there is a toggle button to show or hide advanced search options. Below that there is a "IFrame A"(Table). IFrame A conatins "IFrame B" (Table Contents). Based on the toggle switch status, i want to update "IFrame A" size without refreshing the …

Member Avatar for lucky1981_iway
0
207
Member Avatar for sivak

using javascript in c# only for validations..i want to learn javascript in c# ..is there any website or material ...i dont want to read it fully..mainly used function in c# is enough..plz guide me

Member Avatar for serkan sendur
0
87
Member Avatar for raghuprasad

hi, I need an way to upload a file by clicking a link instead of button(<input type="file" name="somename"/>). This feature has been newly added to GMail, to attached a file we need to click a link. Any ideas or code of how this can be done are needed. Thanks :)

Member Avatar for lucky1981_iway
0
243
Member Avatar for fischb22

i'm trying to get the contents of the span fields "sector" & "coords" from this : header crap snipped out. [code] <body style="background-image:url('http://www.pardus-lcn.org/assets/pardus/bgoutspace1.gif')"> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:5px;"> <tr> <td valign="top"> <table width="210" border="0" cellspacing="0" cellpadding="0" id="status"><tr><td><img src="http://www.pardus-lcn.org/assets/pardus/status.png" width="210" height="34" alt=""></td></tr><tr><td style="background-image:url('http://www.pardus-lcn.org/assets/pardus/panel.png');background-repeat:repeat-y;text-align:left;"><div style="margin:0 18px;"><table cellspacing='2' cellpadding='1' border='0' width='95%'> <tr …

Member Avatar for essential
0
143
Member Avatar for qavo

If you send two asynchronous requests in quick succession I presume this involves two different instances of the XMLHttpRequest. Are you supposed to allocate a different onsteadystatechange function to each different instance of XMLHttpRequest (which seems a bit awkward). I have tried to use a single "pipe-like" function and then …

Member Avatar for Airshow
0
167
Member Avatar for prettynpinknc

I am trying to take user input and post it to a new page where I can format their input into a table. Here is the begin of my form: [code] <form action="resumeProcessor.html" method="post" name="resume" onsubmit="return validateSubmission()"> <p> <input name="name" type="text" id="name" value="Full Name" size="75" /> </p> <p> <input name="address1" …

Member Avatar for essential
0
95
Member Avatar for starsinthesky

i really dunno what i miss or what's wrong with my codes. it would only work when you hit the "Post" button on the second try. i think it has something to do with my GUI, coz if i would just test the form named "fields" the javascript would work. …

Member Avatar for starsinthesky
0
312
Member Avatar for RobotFX

Hi, all! I have a problem I hope someone smarter then me will fix :) So, I'm integrating a javascript in my site: [CODE]<script language="JavaScript" src="/js/ortodox.js" type="text/javascript"></script>[/CODE] as you can see, is in a separate .js file. The site loads too slow, because of this. What I'd like to do …

Member Avatar for RobotFX
0
196
Member Avatar for chaituu

where to put <form> tag in dynamic rows? In the below code when i write <form> tag after <BODY> i am getting weird exception. "Internet explorer cannot open internet site ;operation aborted".you can check the code in your browser. but when i place <form> after end </script> tag then page …

Member Avatar for essential
0
97
Member Avatar for sudhirnaidu

prototype.js and mootools.js working fine individual. but when i m trying to use both of them(prototype.js and mootools.js) together so it is not working ... pls any one here how can help me... this is my code....... <html> <head> <link rel="stylesheet" media="screen" href="../calendar/styles/vlaCal-v2.1.css" type="text/css" /> <link rel="stylesheet" media="screen" href="../calendar/styles/vlaCal-v2.1-adobe_cs3.css" type="text/css" …

Member Avatar for sudhirnaidu
0
120
Member Avatar for sunilsinha

Hi, I need to rotate div by 90, 180, 270 and 360 degrees. For 90 and 270 degree rotation, i interchanged width and height. and for 180 and 360 degree rotation, i kept initial width and height. But in either case, text i.e. div(innerhtml) is not rotating. How to achieve …

Member Avatar for Airshow
0
154
Member Avatar for Pierre9

Hi all, I've written some functions that seem to be able to handle parallel AJAX requests. However, I am not sure if they would work under all circumstances. My idea was to create a separate object for each AJAX request in order to bind the right handler function to the …

Member Avatar for ShawnCplus
0
176
Member Avatar for mimoDsg

I need to stop this while without a brake or a better way solve it function validacion_contenidos(palabra) { j=0; if(palabra.length >= 4) { //dw("palabra valida"); while(j < palabra.length) { letra=palabra.charCodeAt(j); //dw(letra); if(letra >= 97 && letra <= 122 || letra >= 65 && letra <= 90) { val=true; } else …

Member Avatar for Airshow
0
85
Member Avatar for sunilsinha

Hi, I have to zoom a div. an image is placed as div background using css. while doing zoom in, what i did is increased width and height of div by 25px, but image which placed as div background is not streching. Also, when i zoom it, the text placed …

Member Avatar for sunilsinha
0
90
Member Avatar for Capsi

Hi frnds, I m new to ajax. I have implemented the ajax autocomplete <ajax:autocomplete source="tag" target="make" baseUrl="autocompleteTag.htm" className="autocompleteTag" indicator="indicator1" minimumCharacters="1" parser="new ResponseXmlToHtmlListParser()" /> this my partial code. The problem is that when i press any alphabet say suppose "a", i get all names starting with "a" say amy, admin, anuj …

Member Avatar for navenchary
0
147
Member Avatar for ryanwhite17

I need some help figuring out how to create a somewhat simple form. The form will have text fields for 'Name', 'Phone', etc. What I want is to have a [B]drop down list[/B], which has different insurances to choose from (i.e. Medical Insurance, Dental Insurance, Senior products), and say when …

Member Avatar for Airshow
0
423
Member Avatar for OrcaSoul

I am rewriting a Python mechanize script to parse a site, after the entire site was altered... I am able to get part way into the pages I need to access, but have run into a bit of a problem. In the HTML below, the first segment has 2 buttons …

0
69

The End.