17,114 Topics
![]() | |
In my Submit button I have a JavaScript coded that will validate certain textfields.. The problem is if the value in the text field fails I must make away to stop the form from submitting.. any suggestions? I'm using JSF with this Javascript.. and to get a picture of my … | |
hello! i have 3 textfields: one for the arrival date, the 2nd is fordeparture date, last is for the number of nights. both dates are picked in a datepicker calendar popup. would it be possible to display the difference between the two dates automatically right after selecting a departure date? … | |
hi this is akash i am doing project in java, i have some code in CGI , now i have to transfer that code in to javascript, can any one help me .it is very urget,please help me. | |
The function below is sending audio that has been converted into bytes and then placed into a byte array, after which it is placed in the DataoutputStream and sent to a servlet. My question is How do I make a servlet that will receive this data and then turn it … | |
currently iam doing the project in java with jsp,javascrpit and html ,oracle backend the problem is we cal as combo box (or) drop down list all these are 5 lists .in that if u select any one item in the first drop down list some other names are there those … | |
hi! i am trying to add new features on a third-party webmin module vsftpd.i want to add radio buttons that enables/disables textboxes and i think i have to do this using javascript but i couldn't embed the javascript code into perl, how can i do this please help me!! | |
I have an ASP page that uses VB to make the url that would be used on a page. I also have a Javascript function that when activated would change a form around. Now what I want to do is using JS when an image is clicked to get the … | |
Ok, so I use Windows Live Mail Beta, don't know why, but they "invited" me ages ago, and it looks quite attractive, so I keep it. Sometimes, I get these yellow errors: "Windows Live Mail was unable to complete this request", today though, they're not going away. Also I get … | |
I have this function that depending on the value passed will do what ever. [CODE] function menu(n){ switch(n) { case 0: document.getElementById('sub2').style.display = 'none'; document.getElementById('sub3').style.display = 'inline'; menu1(); break; case 1: document.getElementById('sub3').style.display = 'none'; document.getElementById('sub2').style.display = 'inline'; menu2(); break; } }[/CODE] I also have an Image that when clicked will … | |
Hello. I have a problem when adding the javascript delete confirmation. I use a page for both delete and update function. The delete querystring is just like this : `adm_data.asp?act=del&id=6` And the update goes this way : `adm_data.asp?act=upd&id=6` I use this following code to processing delete: If Request("act")="del" Then Call … | |
[code] var ie4 = (document.all) ? true : false; var ns4 = (document.layers) ? true : false; var ns6 = (document.getElementById && !document.all) ? true : false; function openDesc(text) { if (ie4) { document.all["Description"].style.visibility = "visible"; document.all["TitleClose"].style.visibility = "visible"; } if (ns4) { document.layers["Description"].visibility = "show"; document.layers["TitleClose"].visibility = "show"; } … | |
Hey! I came up with the new problem. I want to fetch all form values by using request.form("FormName") which is generated by javascript on runtime. The attached zip code contains the working code of javascript creating dynamic form elements. So after generating a couple of textboxes when I click on … | |
My resolution for the rounded corners dilemma was to go ahead and add an option into the USER CP that allows members to disable rounded corners, the navigation dropdown menu, or both. Please use this option instead of disabling individual scripts via your web browsers as this ensures that nothing … | |
Good morning, I have created a registration page with a few little things built in to eliminate duplicate users. I am getting the follow error after clicking the register button: cannot find 'file://C:/CTGR/_access/%3C%=MM_editAction%%3E'. Make sure the path or Internet address is correct. Ideas on how to get this error to … | |
hai i want declare imports system.net -----header file in javascript <script> //// in this section how to declare imports system.net <script> please help me | |
Hai Friends, I have the code like this. Here my issue is: when the user accesses this page he will get the topic and related categories in the drop down boxes. but when the user changes the topic it needs to populate the categories from the database and kept the … | |
i used in this below code in usercontrol but error happen because the checkbox value didn't pass please help how to pass the checkbox value i try `<!--onclick="checkedChanged(this,'checkbox')--> this line` but the checkbox is `runat=server` so different value is generated in html view source code... so doesn't work this code........... … | |
Dear All... I have two aspx Pages..I am having first page as a home page.I have various controls bounded in the home page.when i click the button control in the home Page,the Second Page is opened but it is Opening in an new window..Instead i need the second Page to … | |
Hi Friends I need to validate the email address when submit the form using java script. When I enter one email address i have to val;idate the mail id. But at the same time I have entered multiple email address seprated by comma . I unable to validate How can … | |
I need to round a result number,by precision; Example: Math : y=x/1000000; x=5 => y=0.000005, but if I do this in java script y=0.00000500001;(not right) ;how do I round a equation by precision to have a math result | |
Hi... I'm developing a simple script using AJAX and php to update a database...But the script is running fine on IE but not at all on Firefox2.0.0.3....Please help me out Here's my AJAX script var xmlHttp function showUser(str) { xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Browser does not support HTTP Request") … | |
Is it possible to have a link so users can add my site to their bookmarks via a link? I have found out how to do it using IE but it doesn't work with Firefox. Cheers for anyhelp. | |
I wouldn't even consider myself a rookie with javascript but know it can be done, so thanks for any help. What function would I use to have javascript read the page it is on, grab the url which is like: [url]http://site.com/boards/index.php?showtopic=88837&mode=linear[/url] and say if the url includes "mode=linear" then apply … | |
hello i´m trying to use the messagebox ok cancel in java to confirm or cancel when i try to eliminate some data from the database. i don´t know how it works. could somebody help me, or give me an example... | |
Hey all. Does anyone knows where to get some tutorials of JavaScript? Or someone willing to teach about JavaScript please kindly send a PM and include your contact or reply here. Your help willl be appreciated. Thank you. Xizhe | |
[COLOR=#000000]If PHP is ran through the Apache server the files must be in the what folder?[/COLOR] | |
Hi i have a script like this : function add() { c=document.form1.status1.checked; d=document.form1.status2.checked; if(c!=1) document.form1.hidsum1.value=0; else document.form1.hidsum1.value=document.form1.sum1.value if(d!=1) document.form1.hidsum2.value=0; else document.form1.hidsum2.value=document.form1.sum2.value a=document.form1.hidsum1.value; b=document.form1.hidsum2.value; var e = parseInt(a)+parseInt(b); document.form1.total.value=e; } And it works though. But i want to use looping to simplify the code. Anybody can helps? i have no idea … | |
In one of my previous posts [URL="http://www.daniweb.com/techtalkforums/thread77253.html"]here[/URL] I got the information on what I had to do. Now I have a similar problem instead of using a button to do that I have 2 links that when clicked will take you to the same page but depending on the link … | |
I have a field called [EMAIL="field@code1"]field@code1[/EMAIL] in a form in a XSL page. i want to use java script to do validation. the javascript errors if there is a @ in it. 1. is there any way of putitng an @ in javascript 2. is there any other way i … | |
Hi. I am unable to create file object from javascript in Vista platform. ex. i am using this statement javascript var oFso = new ActiveXObject("Scripting.FileSystemObject"); after executing this and make try catch block for this i am getting this error "Automation object can't create object". I have enabled some options … | |
Hi there folks, What do I do if a want a list of all the countries in the world loaded up into a html dropdown listbox. Thanks for the help in advance | |
There is a script I am using....A Media Gallery...everytime I put in a javascript, it does not work. When I put [quote]<script type="text/javascript" src="[URL]http://www.example.com/js/swfobject.js[/URL]"> </script> <script language="javascript" src="[URL]http://www.example.com/js/player.js[/URL]"> </script> <script language="javascript"> var config = new Array(); config["width"] = 400; config["height"] = 300; config["clientId"] = "example"; config["bgColor"] = "#FFFFFF"; config["playList"] = … | |
Hey everyone, I've recently needed to use python to retrieve a cookie from someone visiting my web site. This is all needing to be done server-side, so I will (i think) need to use the Cookie module. I've looked online everywhere, and I'm having a hard time figuring out exactley … | |
i am trying to write a script in asp javascript that will allow me to go to Link one (hotmail login page) and enter my username & password and proceed to Link two (mail inbox page) and then retrieves the the first emails details including the fields from, subject, date, … | |
Hi Guys, Im using c# asp.net,i had used datagrid to display the record from the database,in the datagrid i had used template column as textbox now i need to highlight the row onmouseover using javascript and also specify in server side how to hande this? help me rgrds Kanna... | |
hai friends I need to check the password value have one numaric value .how to check the numeric value in given password. please help me Thanks | |
is there an alternative to this website preview tool? I'm looking for a tool that will preview websites from linked images not linked text. thanks | |
Hello, i have a multiple checkbox that needs checking. So i build some validation code through javascript. I found some problem in setting the name of checkbox in a loop. The loop should check three checkboxes. Which are [B]status1[/B], [B]status2[/B], and [B]status3[/B]. You might want to see my code below. … | |
Hi, I have a series of pages that I have created “printable/savable | |
OK, I know how to address all of the radio buttons on a page as an array, and address all of the radio buttons in a single group as an array. And I know how to create multidimensional objects in JavaScript. But how can I create a two-dimensional array of … | |
Hi friends, i have a html page containing three frames..Each frame having source .aspx pages. one frame contains menus, on click of the menuitem how to redirect it to another frame? i'm very new to Javascript.. i will definitely appreciate your help. Thanks | |
Hi there guys..!! Well what I'm looking for is.. [IMG]http://www.dynamicdrive.com/forums/images/smilies/biggrin.gif[/IMG] Basically I want to have an HTML POP-UP Window, which would contain a FLASH File of the RESOLUTION "800x622". I want to have Google ads on both sides and at the bottom too. It's easy to define a layout for … | |
I am trying to use the following script for something. [IMG]http://www.kirupa.com/forum/images/smilies/hugegrin.gif[/IMG] [URL="http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm"]http://www.dynamicdrive.com/dynamici...thumbnail2.htm[/URL] What I have done with this script is that I have a few "loadareas" where the images show up. So basically I have 3 load areas. "loadarea1", "loadarea2" and "loadarea3". In each load area the default image is … | |
Hi there people! I need some help here. I have a scenario where I'd like users to pick any date from current date (today's date) to any date in the future. The user would not have access or be presented an opportunity to pick yesterday's date. I have some ideas … | |
Dear Guys, I am a newb in javascript. I have a question, please help me out! Please make this is in Javascript. [COLOR=blue]Q1. Design a webpage to operate a simpe arithmetic calculator that accepts two numbers and performs the calculation (Hint: create three text boxes - two for operands and … | |
hi, please i want to make function java script that check if user enter empty string([U][B](" ") more one space)[/B][/U] or no if yes prevent this string from submit to database (this string will enter to database) i know there are function trim() can remove empty string from text but … | |
hey guys.. im kinda new to Web App development especially CSS.. so I was woundering what would be the best way to create rounded tabs without using the AJAX thingy or JavaScript.. thanks in advance..^_^ -ArchAngel | |
Hi Guys, Does anyone know how to remove the space between the paragraphes when creating a new element <p>? (see the example below). [URL]http://www.mozilla.org/docs/dom/technote/intro/example.html[/URL] Thanks! | |
I am calling a JS file with a [INLINECODE]<script src=...>[/INLINECODE] tag in the header. It's a rather large file. The thing is, there is one function in the file that needs a query parameter, and I therefore must pass it to the file, making the file not really cachable. Should … | |
Hi all i have recently been using fireworks MX and have created a working menu. it is uploaded on my server and currently have it in a html page as this was the code fireworks gave me. How can i put this html / javascript menu into a php block? … |
The End.