15,699 Topics
![]() | |
![]() | I have a form that is 19 pages long. When complete, it is sent to a database and also printed. This is the header for the form [CODE] <fieldset class="major1"> <!--fieldset header --> <table> <tr><td colspan="5">Date: <input type="text" name="ard3date$$DOCID$$" value="$$ard3date$$DOCID$$$$" class="sp5" /></td> </tr> <tr> <td>Student Name: $$F1$$</td> <td class="sp2"> </td> <td>Student … |
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] … | |
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 … | |
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 … | |
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; … | |
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 … | |
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 … | |
<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> | |
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] … | |
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 … | |
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 … | |
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 … | |
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; … | |
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 … | |
can someone show me how to call two functions at the same time... and is it possible calling them with the onShow command? thanks | |
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 … | |
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 … | |
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....:) | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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). … | |
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 … | |
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... | |
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" … | |
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 … | |
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 … | |
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; … | |
Can anyone help me with this code. There are 11 images now. When it was running just 10 it was working fine, but when I added the 11th it won't rotate the 11th but will still rotate the first 10. <br> <script type="text/javascript"> var imgs1 = new Array("/resource/resmgr/Ad_Banner/ad16.jpg","/resource/resmgr/Ad_Banner/ad13.jpg","/resource/resmgr/Ad_Banner/ad14.jpg","/resource/resmgr/Ad_Banner/ad8.jpg","/resource/resmgr/Ad_Banner/ad15.jpg","/resource/resmgr/Ad_Banner/ad18.jpg","/resource/resmgr/Ad_Banner/ad12.jpg","/resource/resmgr/Ad_Banner/ad19.jpg","/resource/resmgr/Ad_Banner/ad20.jpg","/resource/resmgr/Ad_Banner/ad21.jpg","/resource/resmgr/Ad_Banner/ad21.jpg","/resource/resmgr/ad_Banner/ad3.jpg"); var lnks1 … | |
Alright, I am using the "FancyBox" script to load a larger photo, plus information about the photo into a window, ontop of the window.... which works great. However I need to pass the id (or other unique value) to the javascript so it can pass it on and get the … | |
does this flash effect [url]http://www.goodthinking.com.ph/[/url] can code in jquery? or other tips, sample how to do it in jquery? thanks in advance.. . -mrmaxspeed | |
Can someone check the way how I combine the two functions to work for my datepicker. Thanks. Clicking the header, make me select all the dates for that day for the entire month [CODE]selectColumn: function(picker, inst) { var target = $(this); picker.find('div.datepick-month th span').each(function() { $('<a href="javascript:void(0)" class="' + this.className … | |
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 … | |
I have this code and i want the mouseover to change the variable auto from true to false. [CODE]if ($featuredArea.length) { $featuredArea.et_switcher({ useArrows: true <?php if (get_option($shortname.'_slider_auto') == 'on') { ?>, auto: true, autoSpeed: <?php echo(get_option($shortname.'_slider_autospeed')); ?> <?php }; ?> }); }; $("div.slide").mouseover(function(){ $featuredArea.et_switcher({ auto: false }); });[/CODE] The last … | |
I need to open an Excel spreadsheet with javascript. I have to check permissions and do a large if else condition. Any help would be appreciated. | |
Ok, here's the catch: i am using ExtJS + PHP + MySQL to make a real-time chat site, based solely on AJAX requests. Yea, reverse AJAX would be cooler, but i haven't met anything easy to use enough to incorporate. (maybe you could suggest something !) The site would be … | |
I have this website which has a slider in the middle of the page. I put a video in the slider but the problem is when I play the video I need the slider to stop its effect so the video can play. Any ideas how to make this happen. … | |
Hi All, I am having issue in calling asp.net web service from javascript. The web service resides in one of our development machine and i am trying to call the web service from my local machine. (The application works fine if the webservice resides in my local machine) The reference … | |
i used the String.length(string) function in javascript to get the length of string but nothing happened. It doesn't give me a value when i tried to view the result using an alert function. Actually, this kind of problem does not only exist with the length function, it's also the same … | |
Hi, I'm working on a simple WYSIWYG editor. So far everything goes well, except for one thing: Most (or, every, probably) WYSIWYG editor I know that has the B, I and U buttons, applies a 'click' effect when the text you are typing is bold, italic or underlined. So when … | |
hello! is there a way that a control outside the updatepanel can read the content of a textbox in the updatepanel? because i want to create the create wizard of a user so i want for the username an updatepanel so i can refresh only this updatepanel because i want … | |
[CODE]function showModalSummary(path, ownerWin, pos, passObj, onClose, title, setFocusEnabled) { path = rootPath + path; if(!title) title = ""; // var doc, dl, features=''; if(!pos) pos=new Object(); if(!pos.width) pos.width=300; if(!pos.height) pos.height=200; if(!pos.left && pos.left!=0) pos.left=(screen.availWidth-pos.width)/2; if(!pos.top && pos.top!=0) pos.top=(screen.availHeight-pos.height)/2; if(isMoz) { pos.height-=27; pos.width-=6; features = features.replace(/:/g, "=").replace(/;/g, ","); } features = … | |
Hi guys, The tabbed menus work, but not in MS IE and I don't know why. The tabs appear, but the content of the tabs just sits all in one panel. Clicking the second tab does not activate the second content panel. My code is a bit messy but I … | |
I have an ASP.NET (2.0) web page for our company Intranet which uses Ajax via Javascript to communicate with an application server via UDP. The web page needs to constantly listen for UDP data to be received and occasionally send UDP data when the user clicks a button. I'm having … | |
I run a social networking site and it has an advanced newsfeed feature. I want to use a clickable AJAX link to refresh just the newsfeed and not the entire page. The code is held in a javascript tab as seen below and I've already added a basic link to … | |
How can I keep the flyout visible, that's triggered with the "By Neighborhood" hover? My script: [code] <!--Sunday 100815--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="description" content="Save money" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>savebop </title> <script type="text/javascript"> //<![CDATA[ function showmenu(elmnt) { outerdiv=document.getElementById(elmnt); outerdiv.style.visibility="visible"; //now … | |
hi i'm hoping to have a file 1.php, which takes in a userid via form input, which sends it to file 2.php which shows you available options depending on your userid, and a file 3.php which alters database values depending on your action, and applies it to values corresponding to … |
The End.