15,121 Topics

Member Avatar for
Member Avatar for revata

I have a script working for me which loads content into an iframe on my index page based on a url query string. for example: mysite.com/index.php?two.php loads "two.php" into the iframe, heres what i have: [CODE]<script type="text/javascript"> function loadIframe() { var urlStr; urlStr = location.search.slice(1); window.frames.myiframename.location = urlStr; } </script>[/CODE] …

Member Avatar for revata
0
145
Member Avatar for jhonilson

Hi I want to extract all the names properties of the html form. I have 2 elements (Textarea and CheckBox) and I need to create 2 arrays with all the names of them, is to say, in the array1 all the checkbox names and in the array2 all the textarea …

Member Avatar for jhonilson
0
95
Member Avatar for ivan3510

Hi! Sorry for my bad english. I need help. I have a code (it's long so here's short version) that will, when I click on the button 1 (input field 1 and button 1), make a new input field and button with new name (input field2 and button 2) and …

Member Avatar for ivan3510
0
114
Member Avatar for azegurb

hi all i have taken script from internet but in this script i dont understand what does mean this.length. when we write [CODE]this.length[/CODE] as what length we must understand it here is code. [CODE]Array.prototype.max = function() { var max = this[0]; var len = this.length; for (var i = 1; …

Member Avatar for Taywin
0
116
Member Avatar for anirban1087

Hi, I have 5 Numeric fields in my from, I am using onkeyup to check for numeric values only, now I have a total field also. I would like to have a sum of the values entered in the 5 fields to be shown automatically on this total field. How …

Member Avatar for benhowdle89
0
84
Member Avatar for scottyg13

Hi I was wondering if someone could help me with a code for my website? Basically what I want to do is have a drop down list that is essentially a matrix in the sense that picking one option leads to another and eventually you can narrow down the results …

Member Avatar for Taywin
0
62
Member Avatar for agent7

<SCRIPT language="javascript"> function box(){ if (document.getElementById('adminUserName').value == " "){ alert("UserName is Empty"); }else{ alert("UserName Successfully Save"); } } </script> ===================================== <td>User Name:</td> <td colspan="2"> <div id="adminUserName"> <html:text property="adminUserName"/> </div> </td>

Member Avatar for agent7
0
78
Member Avatar for bjeffries

Would anyone know why my javascript slider does not work in FireFox? Ironically it works well in Ie and Chrome. All I did was modify a JQuery slider to fit my needs and even before I Modified it, the slider still would not work in FireFox Page: [url]http://www.flyteusa.com/flyteusa/index1.php[/url] Code: [CODE] …

Member Avatar for bjeffries
0
184
Member Avatar for jianping.roth

The following, coming from Sun, works for IE prior to 8, but it fails to work for IE8. Please help. [CODE]<SCRIPT LANGUAGE="VBScript"> on error resume next If isIE = "true" Then If Not(IsObject(CreateObject("JavaWebStart.isInstalled"))) Then javawsInstalled = 0 Else javawsInstalled = 1 End If If Not(IsObject(CreateObject("JavaWebStart.isInstalled.1.4.2.0"))) Then javaws142Installed = 0 Else …

Member Avatar for jianping.roth
0
72
Member Avatar for monicao

Hello! I've a Javascript function that has to verify if a form field is empty or not. My function works fine on my local server (Vertrigo), but when I upload it on server (online), the function doesn't verify if form fields are empty or not. Please help, I'm not good …

Member Avatar for monicao
0
180
Member Avatar for turpentyne

I've got a form page with two dropdowns, where people first select a leaf shape, and it shows the image. For example, choosing "auriculate" makes images/leaf_shapes/entire/auriculate.jpg appear. Then they choose the margin design, which could be "crenate" or "serrate" or "undulate" or several others. This changes the image to images/leaf_shapes/"their …

Member Avatar for turpentyne
0
111
Member Avatar for endoExpert

I have this code in a C# application that is automating a Web app. I want to execute the javascript function and would like to SEE the results, however when running the app I get an exception "Specified cast is not valid." on line 2 below. mshtml.IHTMLDocument2 doc2 = (mshtml.IHTMLDocument2)ie.Document; …

0
20
Member Avatar for Bliksempie

Hi everyone, I have an issue with IE7 not responding as it should after a log-in to a website I built for a client. This same problem also affects the add to basket or add to wish-list functionality, the checkout process, and all other Ajax requests. Here is a breakdown …

Member Avatar for MooGeek
0
175
Member Avatar for ekseks

can someone show me how to call two functions at the same time... and is it possible calling them with the onShow command? thanks

Member Avatar for ekseks
0
167
Member Avatar for thewonderdude

hi, i have a question which feels like it should be very easy but my collegues have had some difficult explaining the logic to me. The thing is, I have a dropdown as such, [CODE=jsp] <ui:dropDown binding=..... tabIndex="5"/> [/CODE] and in the jsp page, i want to set it to …

0
79
Member Avatar for pksinha84

Hi All I am working on one project. The requirement for business is like one popup should appear while one menu is moused over. Actually that menu item is "ADDRESS" , and client wants that once that pointer will come over "ADDRESS" ,one small popup will appear with address information …

Member Avatar for Graphix
0
68
Member Avatar for sami.asanga

Hi, I need to hide the login screen of my web site whenever a customer has logged in..It should be done with javascript right?? Any suggestions?? Can someone help me to do this?? Thanks....:)

Member Avatar for gunnarflax
0
110
Member Avatar for bjeffries

I have a Join page on my site(which also has a login form). Is it easy to write java-script to determining if they do not have matching passwords(re-type password for Join form) or a valid email without redirecting you from the page? That way if something is wrong it shows …

Member Avatar for gunnarflax
0
238
Member Avatar for amarjit111

I have a query regarding the hide/show of the cells in a table. The first column is 'Yes and No' options using combo box, 2nd option is 'input field', 3rd column is also 'Yes and No' option using combo box, and 4th option is also 'input field'. What I want …

Member Avatar for gunnarflax
0
185
Member Avatar for iadman

Hi, In my project im using CGI and c++ in the server. When ever i download files from the server, IE 8 opens a window for every file downloaded. Then it does not close that damn new window. Please help me remove these extra windows.

0
76
Member Avatar for jhonpeter1980

Hey Folks, I am back with CSS 3.0 background options … I hope you’ll love this one…. All the details you can find here [url]http://innovator.samsungmobile.com/cms/cnts/knowledge.detail.view.do?platformId=12&cntsId=7400[/url] Some of the details covered the above article: Background (multiple) The css3 gives the possibility to apply more background images to a single element and …

Member Avatar for Kieran Y5
0
174
Member Avatar for sgweaver

I am creating a form that you don’t actually submit in order to allow people to download files. You select different options with radio buttons and drop-down menus and then use that information to “show/hide” divs with javascript. That part works, but if the user leaves the page and then …

Member Avatar for azegurb
0
264
Member Avatar for pgmarco

Hello, I am trying to add variables from select options, but I am getting the $NaN error with certain items. The first item is the video under the low end build, you have to select MSI Radeon HD430. The second item is sound under the high end build, you have …

Member Avatar for pgmarco
0
130
Member Avatar for jonathan96

First off, sorry if this is the wrong section. Adobe Forms isnt exactly Web Development, but its the only place I could find to post about javascript. If this isnt the correct section, could someone please redirect me? Thanks. Now, onto the question (please note, I am inexperienced with javascript). …

Member Avatar for macgurl70
0
207
Member Avatar for arthurav

I use a mysql database with students and grades for a training program. I would like to create a dynamic form with one field that works like this: if i write the name in the form and press check, and the student exists, i want it to show me the …

Member Avatar for Graphix
0
173
Member Avatar for michael_r

hi... i am new to ajax and i would like to know the syntax for sending multiple values using post method in ajax. i have tried this code but it doesn't work.. var data = 3; var age = 27; XMLHttpRequestObject.send("data=" + data,"age=" + age); thanks in advance...

Member Avatar for Graphix
0
84
Member Avatar for ivan3510

Hi all. I'm trying to create custom prompt. When I click on the button, appears custom prompt and ask "Do you realy want to submit?". When I click "Yes", the form isn't submited. Here's html code: [CODE]<html> <head> <link rel="stylesheet" href="look.css" type="text/css"> <script type="text/javascript" src="script.js"></script> </head> <body> <form name="novo" action="obrada.php" …

Member Avatar for ivan3510
0
623
Member Avatar for gunnarflax

Hi! I've started learning writing javascript objects with literal notation... [CODE]something = { variable: "value", method: function(){ //code } }[/CODE] instead of the usual syntax... [CODE]function something(){ variable = "value"; function method(){ //code } }[/CODE] the problem is that it's hard for me to adapt procedures which I'm used to …

Member Avatar for gunnarflax
0
191
Member Avatar for agr8lemon

Hello! As the title says, I'm trying to toggle a <tr> element of form based on the selected value of a drop down box. Here is my current code for the dop down: [CODE]<tr> <td><img src="require.gif" align="center" width="7" height="5"> Employee Type</td><td colspan="3"><select name="type"> <option value="Please Select an employee type:">Please Select …

Member Avatar for Jackson TKL
0
4K
Member Avatar for Bubbleboy

I want to make jQuery animate the fade in of a block of text with a few links in it. Here is the code. [CODE]<html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <title>Home</title> <LINK rel="icon" href="/favicon.ico" type="image/x-icon" /> <LINK rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <LINK rel="stylesheet" href="docs/navbar.css"> <style> html, body { margin: 0; …

Member Avatar for Daiva
0
553

The End.