17,114 Topics
![]() | |
Hi to all, I'm a JavaScript developer and like you know there are not to much tools for developing Javascript(at least this is my feeling). I was wandering if you can share with me your tools you are working to develop and debug java script code. I found the project: … | |
I am needing help with what is probably a very easy task to complete, but I have been working on it for a while and need another pair of eyes to help me figure out the missing piece. I should know how to do this but for some reason the … | |
Have been trying to figure this one out for some time, but still can not get this AJAX script to work with Internet Explorer. It works with all other browsers. Thanks in Advance! FORM CODE [CODE] <script language="JavaScript" type="text/javascript" src="aj.js"> </script> <input type="text" value="#CCC" id="paints" size="7"> <input type="button" value="submit" id="gColor" … | |
[code] <html> <head> <script type="text/javascript"> var flag=0; callf() { if(flag == 0) { test() { alert("hi from if"); } } else { alert("hi from else"); } } </script> </head> <body> <input type="text" onchange="callf();"> </body> </html> [/code] what's wrong with this code ?? nothing happens when i type into the text … | |
I am having problems with this form it has two submit options a button and an onchange instance the onchange just will not work can any one tell me why? my doc type is [code] <!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" xml:lang="en" lang="en"> [/code] the form … | |
I want to make a pop-out list that shows multiple items where only one of those items has a bullet next to it. The best way to described what I want to do in HTML is by example: In Firefox you can click View | Character Encoding | Auto-Detect That … | |
I made this JavaScript that password protects a page. But the password you type in is completely visible! I want it so that the password are those black dots for each letter.... If anybody gots anything, please post it here, thx. Oh yea, here is the script [icode]<HTML> <BODY> <SCRIPT> … | |
Hi, There is too much space between the Organized in / Pioneered by text and the Text Input Areas. How do you shrink this amount of space? [code=html] <html> <head> <title>Prefecture History and Facts</title></head> <body><h1>Prefecture History / Facts</h1><hr> <table> <tr> <td>4th Prefecture of New York State, U.S.A. </td> <tr> <td … | |
I have created a javascript file with some utility functions. How do I "include" to those functions from another javascript file? Also if I create a global variable inside one of my javascript files, can the utility functions see that variable if they are called? | |
can anyone tell, how to fix this double clicking display problem on a browser(IE7 & FF3.0.x), whenever I click the find button for a text search, the alert box which was setup by me for debugging purpose is showing all that json(records) but the browser displays nothing. Now I try … | |
hi everyone, i am trying using ajax on my web. so far all function is works. but now i stuck on this problem. i am using ajax to change all my content. default.asp is the primary page....with all menu clicked to call another page. so when i clicked, my div … | |
I have been trying to research this in my spare time for the last few weeks now and everything turns a blank. Yes I can restrict input in IE but in FF I cant. I am looking to restrict input based on alpha, numeric and special characters only - in … | |
Hi guys, I'm taking web design as a minor and currently Im doing my project on this subject . My idea was about an Educational Website for kids I'm almost done with the whole website I just need a lil help with this part of a page: [IMG]http://up.mrkzy.com/images/images/50ivlmtx9o05htzlwi8.jpg[/IMG] The idea … | |
Hi. This java script dont work on the second dropdown. The first dropdown rewrights the URL with param. cat. The problem is that the second time it dos not pick up the town param. Please help me im not a javascript persson but trying..... //Mikael [CODE] <!doctype html public "-//w3c//dtd … | |
Hi all. I'm building a website about Fibonacci for school, So I want to put a calculator that will show all lucas numbers or fibonacci numbers as for the user's decision. I've made the design and everything and now i just need it to work, but I'm pretty lame in … | |
[code]<?xml version="1.0" encoding="utf-8" ?> <sites id="0"> <siteName>London <groupName>Administration</groupName> <groupName>IT <groupName>IT Sales</groupName> <groupName>Helpdesk</groupName> </groupName> </siteName> </sites>[/code] Above is just a sample snippet to highlight what I am trying to achieve. Basically I just want to have a way to traverse this. But with <divs> attached to each level with an onclick … | |
What is javascript? I've heard of it, but never looked into it. what can it do? | |
Hi Everyone, Any help on this issue would be greatly appreciated. I am using ASP Classic on my project and wants to using ajax for completed(updating) my member profile. I am a newbie on AJAX, please help me on this!! I need a form (address, city n phone number) that … | |
hi iam fresher where can i find code of php & javascript codes,plz tell url of websites | |
Hi, I'm not a coder, but I'm trying to do a project for my friend so that his site has a little calculator. js is the logical choice but I don't know how to write it. Can anyone point me in the direction of a resource or existing calculator that … | |
Hey, I've tried searching everywhere for this but haven't found anything that was able to help me. I am working on a tagboard type script that calls AJAX after the user posts to make the new post show up. The tagboard calls a PHP script which checks to make sure … | |
This does not work. Not sure what I am missing. Basically I want to toggle the none/block value in the style on the span class below based on the browser detection script. Thanks in advance [CODE=javascript] var myBrowserVersion; myBrowserVersion = parseInt(BrowserDetect.version); //Detect if visitor is using Firefox 2 (less that … | |
Hi all, 1] I have to create one html file which uses javascript. 2] HTML page can be accessed by user and can fill the; [A] Folder path along with file name 3] There will be a button, after click on that a batch file [already present but without any … | |
Hi, anyone help me...... I had a login page to enter the username and the password named as [B]"index.php"[/B].when i entered to the [B]index.php [/B]page,i want the mouse focus should be displayed in the textbox username. Regards, santhanalakshmi. | |
Nothing happens when i select a feed.. can you help me figure out what's wrong/missing? [code] <!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" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>RSS Reader</title> <script type="text/javascript" src="jquery-1.2.6.min.js" charset="utf-8"> function get_rss_feed() { $("#feedContent").empty(); $.get('http://barbz.0fees.net/proxy.php?url='+$('#diffFeeds').val(), function(d) { $(d).find('item').each(function() { var … | |
Hi!! I have to hide/unhide some fields on basis of some other fields... so , i found this script on the web. i can't understand the function completely what is the if ( txt.match(id1) ) block doing ?? is there any other way of doing the same... [code] <!DOCTYPE html … | |
Hi!! How can i change the field names dynamically? eg i have a radio button depending on whose choice i have to make another field mandatory, if Yes. Field one is mandatory Else Field one is optional. For a mandatory field i have the validation funciton as well, that it … | |
I want to use a javascript (codethateditor) to provide a rich text editor in an administrative area of a site. Problem with this script. See code below: [code] <script language="javascript1.2"> <!-- var editorDef = { text : '#get_text.text_content#', style : { width : 400, height : 400, defaultClass : { … | |
Hello, When the JS file is not working at the time of Ajax files is called. on first time the onmouseover JS is working but , if you call the ajax JS is not working. | |
i want to populate drop down box values on the basis of other drop down box value dynamically(without refreshing the page) using java script. i tried to search on google, but could not find anything. please can anybody help me in this regards. Thanks | |
Hi i had php form in a page and I make the submit function using a javascript function ( some thing like protypes.js ). It is working fine in IE , Opera ... Nut doesn't in Firefox. Here is the code. Please any one help me to work in Firefox … | |
I want a box/frame/applet on my html webpage that will display an image and depending on where the user clicks i want text to popup/disappear somewhere else in the image. Does anyone know how to do this in javascript. Sorry Im new to web development and couldn't figure out how … | |
Please anyone provides code with examle to disable the Close (X) button in title bar. If user wants to click automatically a dialog box must appear with message 'This is disbale'... Thanks | |
I am not a java guy.. but made this code ( to open new page sized.. on another page of mine but darn i can not get it to do so on this page? Is it a DIV thing... new to these tags too/// [url]http://www.mastar.com/Presentations.html[/url] Where it say Teamviewer button … | |
I have a drop down box in a form like this... [code]<select name="product[]" id="unitcost"> <option value="92">92mm</option> <option value="130">130mm</option> </select>[/code] The value selected is passed to a shopping cart. However, I also need to pass a unit price which is different depending on the value selected. Can anyone give me any … | |
Hey Hii .... I am solving this problem from last 2 days.... but unable to find solution. What i am doing is ..... On click of submit button i want to send email and i am taking client to paypal page to do the payment..... i. e. i want to … | |
Hello Good afternoon Guys Iam KNR iam having a problem with javascript validation i want to check validation of all controls at a time means if i have a form with all fields blank then it has to show message and if any of the field is filled then it … | |
Hi all, I have the following php script: [CODE] <?php $doc = new DOMDocument(); $doc->load( 'events.xml' ); $events = $doc->getElementsByTagName( "event" ); foreach( $events as $event) { $hours = $event->getElementsByTagName( "hour" ); $hour = $hours->item(0)->nodeValue; $minutes = $event->getElementsByTagName( "minute" ); $minute = $minutes->item(0)->nodeValue; . . . ?> [/CODE] events.xml contains … | |
I'm supposed to switch the themes of the "headline" and the "text", but I can't seem to get it. Here's what I have so far...anyone have any ideas why it doesn't work? Thanks :) [code=javascript] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> … | |
Wondering if anybody could help with what seems a very simple problem but is taxing for this noob. I set myself the task of creating a button which, when pressed, switches the background color randomly. It seems to work well enough but the random number it works from only generates … | |
I'm working a basic layout for a database application, and I'm having some issues with giving a text input focus in Internet Explorer versions 6 and 7. If you'll look at the webpage I'm currently working on ([URL="http://persuasionarmy.org/ADBi/"]http://persuasionarmy.org/ADBi/[/URL]) using IE 6 or 7, and you press Ctrl+Alt+A or Ctrl+Alt+S, you'll … | |
I mostly work with PHP. I am not really a JavaScript guy at all, but in this day and age we all end up working with it a bit. I'm trying to do something that seems like it should be fairly simple. Unfortunately, I am not having any success getting … | |
Hey! I'm using an ajax script to load external html pages into a div tag. The script works just fine, however I would like to use it in a jump menu. [CODE]<select name="Jumpmenu" > <option value="1" onclick="ajaxpage('page1.php', 'DivId');" >Option 1</option> <option value="2" onclick="ajaxpage('page2.php', 'DivId');" >Option 2</option> </select>[/CODE] The script works … | |
I'm working on updating a website using as much AJAX as possible to give it a very streamlined feel. I've been able to do it for the most part, but have hit a snag. Let me first explain what I have working. I have tabbed navigation at the top of … | |
Hi, i have been trying to use the javascript confirmation box to delete files from a Gridview, however when ever i click "cancel" on the box it still deletes the file! i really need some help, heres the code i have: [code=c#] <asp:TemplateField HeaderText="Delete File"> <ItemTemplate> <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" … | |
Hi to all I'm new in the forum and I have the following question: can I share a javascript object between pages? I'll explain my self, I have a page that contains two frames: Currently I can call methods from frames, I was wandering if can retreive the all object, … | |
I'm trying to figure out why some of the ajax tabs are not working. The first two tabs work, the third through 5th tabs do not work when you click on them. The js file is tab.js and contains this: [CODE]// JavaScript Document function tab(){ var labels=document.getElementById("tab_product").getElementsByTagName("li"); var part_1=document.getElementById("part_1"); var … | |
Hello, I have a form that gets pre-populated from a url-get link that contains all url-variables that then get submitted into a database. That's all fine... but how can I make it so that when one submits it, the page closes itself? keep in mind this woulnt be a "popup" … | |
Dear all, here is my AJAX file [code]<script language="javascript" type="text/javascript"> var xmlHttp; var temp; function showHint(str,IdDet,str2) { temp = IdDet; if (str.length==0) { document.getElementById("txtHint"+temp).innerHTML="€0"; return; } xmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert ("Your browser does not support AJAX!"); return; } var url= "<?php echo $mosConfig_live_site."/administrator/components/com_virtuemart/html/basketAJAX.php";?>"; if(window.location.protocol == 'https:') url= str_replace("http://", "https://", … | |
Hello, I have a problem and I donĀ“t know why, so I hope you can help me. I have two HTML pages like you and one file .js. I have included the .js file in both pages but once the two pages are load if any changes are make in … |
The End.