15,699 Topics
![]() | |
Hi all, I have integrated google maps API into a site as a store finder. However I'm at the stage of trying to plot thte driving directions between a store and a user input address. The stage I am stumped at is getting the driving directions to plot themselves on … | |
Hi all, I can not see the messages when other people enter in text but when I enter the text i eventually see the messages. What could I be doing wrong in my Javascript Code: [code=JavaScript]<script type="text/javascript"> function ajaxRequest() { var xmlHttp=null; try { // Firefox, Opera 8.0+, Safari xmlHttp=new … | |
hi i am trying to check if the user select yes or no ..it dos work but it give me an error saying "object doesn't support this property or method" [code] { var o = document.getElementById('addyes'); var t = document.getElementById('addno'); if ( (o.checked == false ) && (t.checked == false … | |
This tutorial has been extracted from Packt's new book "[URL="http://www.packtpub.com/tutorial-for-building-interactive-interfaces-with-dojo/book"]Learning Dojo[/URL]". This chapter shows a number of examples from simplifying layout in general with 'CSS-less' layout managers, to dynamic loading of content in content panes, and how to create a wizard widget with a StackContainer and a small amount of … | |
Hello Guys, Is there a way or module I can integrate drupal along with jquery? | |
Hello everyone, I've ran into something that's been confusing me. Here's my code snippet: [code] if (parent.scrollTop < parent.scrollHeight) { if(document.fireEvent){ //IE setTimeout("document.fireEvent('onmousemove')", 10); }else{ //FF var changeEvent = document.createEvent("MouseEvents") changeEvent.initEvent("mousemove", true, true); setTimeout("document.dispatchEvent(changeEvent)", 10); } } [/code] What happens in Firefox is when the [icode]setTimeout[/icode] fires, it tells me … | |
Hello, We have added a "recently viewed items" panel to the right side of our website. In this panel we simply loop through the array of viewed items and present them with a picture and a link stacked up in the panel. The code for rendering the list of items … | |
Hey, my friend sent me this funny java script, if you copy and paste it in the adress bar and hit enter it makes the links spin around, any one know how this works? [COLOR=black]javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=2.6; y3=.24; x4=100; y4=100; x5=300; y5=300; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; … | |
Hi everyone I having some cross browser issues with prototype's ajax.Updater I have a js function call chargeAll(), that calls the same chargeOrder() function using the ajax.Updater several times, with different order IDs. chargeAll is built dynamically, retrieving all the order IDs from the db. Here is the javascript code … | |
hello, I am novice in Ajax, i am trying to build an exemple using the Anaa(An Ajax API), but doesn 't work and i don t know why? i am using the Visual studio 2005 to builb it look at the example: [CODE]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!DOCTYPE … | |
hello. i've been working on a website and everything works/looks fine except when viewing the site with firefox on a mac... one of the pages has two frames that should work at the same time when a link is clicked on the page. however neither appear. i have another page … | |
Morning everybody. my question seemed simple but i have been trying (unsuccessfuly) for day's to solve it . i have a message in red saying my javascipt is disabled/limited fincionality only. i have lost search function/restore function. and i can't access my emails.i have googled this and recieved load's of … | |
Hi I am trying to do something with Jquery and Ajax But I am not sure that its possible or not. its an example about it [url]http://www.unikhas.org/design/index.jsp[/url] I want to save all the things after I desing my tshirt. Is it possible to do that in Jquery or Ajax ? … | |
it is required to develop text based chat application (Between two users). Core Tasks:- 1. Establish connection between server and client. 2. Make appropriate GUI. 3. Proper threading for sending and receiving messages Tasks Details:- Make a server on one computer and client on the other. When client wants to … | |
Hey everyone, I've just created a pop up window, but as opposed to launching it in response to a link I want it to launch with the home page. I believe I've seen it done, but don't know how it is done. Can someone assist, please? Thanks | |
Hi I have an Image Gallery on my site. When a user click on thumbnail image, a JavaScript function will load/change image on the imageView area. Here is the JS function : [CODE]<SCRIPT language="JavaScript"> function changeimage(img_name,img_src) { document[img_name].src=img_src; } </SCRIPT>[/CODE] Here is the ImageView area code : [CODE]<IMG NAME="imageloader" SRC="image_1051.jpg" … | |
I was wondering how I could create a bookmarklet that would take someone's current location (href) and redirect to another page with the href as an "argument" to part of a new url. For example: 1. Someone goes to a webpage, decides to click on the bookmarklet. 2. The bookmarklet … | |
Looking for an example to fit into a demo I am doing... I'd like the user to be able to enter text and click search using POST method Once the next page has loaded, display that variable using GET Only in AJAX please. Thanks in advance for your help. | |
Hi , I have an ajax code which works well in IE. I receive the responseText and thus the alert messages. However, i receive no responseText in Firefox. The code snippet is as follows. function pingip() { var ipaddress=document.baseform1.serviptxt.value; var xmlHttp; try { xmlHttp=new XMLHttpRequest(); } catch (exception) { try … | |
![]() | The Javascript first... (Purpose: When a user hovers over any link that is contained inside of a <li> tag, then change the background color of the <li>...) 1 - May have an issue with my elements, being that it is not possible to change the background on <li> elements... 2 … |
Hello everyone, I ran into an issue that I could use a little help with. I need to search a large string, match certain parts of it, and replace a certain part of the certain part. The entire string is made up of spans, tables, and images, to build a … | |
I want to pass a large string in ajax request that would be parsed and resultant data is returned by the server. How can I achieve this ? Is POST method can read a large string from any html element using AJAX ? And if yes than how it is … | |
Hi All, I am facing CPU utilization issue while iterating through HTML table rows. I am generating an HTML table dynamically using javascript which contains atleast 500 rows. After the creation of table, the table cells are assigned with some values from a JSON object. The sample code for assigning … | |
hello I found a js that allows to use dependent drop down menus, and here it is [CODE]<script language="JavaScript"> function ShowReg(op) { document.getElementById('Car').style.display='none'; document.getElementById('Boat').style.display='none'; document.getElementById('Plane').style.display='none'; if (op == '1') { document.getElementById('Car').style.display="block"; } if (op == 2) { document.getElementById('Boat').style.display="block"; } if (op == 3) { document.getElementById('Plane').style.display="block"; } } </script> <select id="choice" … | |
Hi there, I have a little problem working with JavaScript, I was wondering if i could use some trick to call different variables with a base name. I'll explain it: var number1 = new Array(); var number2 = new Array(); number1[1] = "one"; number1[2] = "two"; number1[3] = "three"; number2[1] … | |
I use a Tab Pane Script to load form fields into tab panes. It works correctly in most browsers including Firefox and Opera however the form cannot be submitted in Internet Explorer. [url]http://d9qjx79zqpo3.googlepages.com/tabs.htm[/url] [url]http://d9qjx79zqpo3.googlepages.com/tabcms.zip[/url] To test, please click on the link in the admin area, then click on the "Save" … | |
[code] <body onload='window.setInterval("timeHere()", 100)' onunload="sayTime()"> </body> </html> [/code] here is java script [code] <script> var time=1; function timeHere() { time = time + 1; finalTime = time / 10; } function sayTime() { finalTime = time / 10; //return finalTime; alert("Thank you for coming to my site! \n You have … ![]() | |
Hi all, I am usually a Perl programmer, I have some background in javascript and am attempting to create a Googleish selector div. [I]Please bear with me, excuse the long introduction...[/I] Here's the details: Our site filters content by location. I use zip codes to find radius's. So if a … | |
This is script [code] <script> var time=1; function timeHere() { time = time + 1; finalTime = time / 10; } function sayTime() { finalTime = time / 10; } </script> <body onload='window.setInterval("timeHere()", 100)' onunload="sayTime()"> </body> [/code] I want to get the time i.e. value of finalTime in ajax varable. … | |
Hi All, I am new to .Net. I am converting a source which is in .net 1.1 to .net3.5. In 1.1 those people had used scritps for calendar popup. Let me show the sample code first In JSCalendar.aspx ---------------------------------- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="JSCalendar.aspx.cs" Inherits="JSCalendar" %> <!DOCTYPE html PUBLIC "-//W3C//DTD … | |
Hello. I've got a page with a <div> that is a dojo.dnd.source and another <div> that is a dojo.dnd.target. I am able to drag objects from the source to the target successfully, but I would like to be able to drag them back again as well. Any advice on this? … | |
In this code it takes phone 2 when I click box and copies the value to a que box . But when I change "phone2" to "email" so on the click it will copy the email value to the que box. The result is undefined. But if I put all … | |
![]() | Hi, I have the following piece of code. <html> <script language=javascript type='text/javascript'> function Getlink(a, b) { var targetURL=""; switch(a) { case 'param1': switch(b) { case 'param2': targetURL="http://www.google.com"; break; } break; default: break; } return targetURL; } </script> <body> <p> <!--<a href="javascript:Getlink('param1', 'param2')">Test google</a>--> <a href="#" target="content" onClick="document.location.href=Getlink('param1', 'param2');">Test google</a> <a … |
Hi, I am new to JS. Long time passed trying to understand JS basics and functions...may be it's time for asking some help. Om my exam pages I have <iframe> and <img> to change pages in the iframe. I have links to other 5 pages that are opened in the … | |
i need help to build web chat using ajax and php for my final project to get my bachelor degree. the feature include: room chat, private chat, file transfer, voice chat, and video chat. who want to help me please feel free to email me at <snipped> thanks | |
hello, i want to open several ie windows but the problem is that when i use window.open only one ieexplorer thread is used no matter how many windows i open which is causing me session time out problems when closing one of the windows so my question is can u … | |
Hi, I'm new to the forum and just saying hello. | |
Hey everyone. I am working on adding a 'search' field to a page and I'm using ajax to update the content of the page. When someone types a letter into the search box, the page content updates based on what they type. I have this all working as far as … | |
i have one text box date of birth and submit button ..if i click that submit button the calender should open ...if we selevt any one of the date on that calender the date should display in dataof birth text box.. can anyone tell me the javascript code for this … | |
Hi, When i click on submit button, javascript is going to check a particular textbox if it is empty. If it is then don't validate the form and make a text message visible from invisible. How can i do it? No CSS please. thanks [code] <form name="form1" method="post" action="a.html" onsubmit="return … | |
hi i am new to java script and i am designing my web site but i want to load a new image on a particular place of my web page when a user hover over the home,contact us link so pls tell how can i do this if you have … | |
How to play multiple wav files with embed element using javascript and/or DHMTL? I have a page with a liink to play and I need to play audio files through javascript and/or DHTML with embed element. | |
The code is: [CODE=JAVASCRIPT] var func = function(){ this.a(){ //here 'this' refers to 'func' }; var b = function(){ //here 'this' refers to 'window' }; }; [/CODE] This is kind of beginner question, but are there any simple rules that I can follow to determine what context I'm currently in? … | |
I have a field set as number (num) for validation. The code below will only allow numbers to be accepted in the field. I would like to modify it such that is MUST have at least two numbers and as many characters as the person wants to type. Can it … | |
Haii. I want to resize an image before uploading it to the server.. Is there any way to do that.... | |
Hi Everyone; I'm working on a project to create an html form for users to input their contact information. I was wondering: is there a way to have a pre formatted text field? For example, to have a form text field that has the brackets for the area code and … | |
hi I am trying to assign open a page in a new window, the following codes are doing so: [code=html]<a title="" target="_blank" href=" my_page.htm"> <img border="0" src="test.gif"></a>[/code] but there are not any control on the size, scroll bar, etc. of the new window. so how can the parameters be defined … | |
Hello, I need help with embedding links within a Jquery Accordion. The code I am using is based on [URL="http://jquery.bassistance.de/accordion/demo/"]Jörn Zaefferer's JQuery Accordion plugin[/URL], with some modifications to allow for an embedded link within each accordion div. The accordion effect looks and works just fine when viewed in Safari and … | |
hi my code is using javascript to dynamically build an html table and fill the table with html buttons. my code: [CODE=javascript]<html> <head> <title>javascript1</title> </head> <script lnaguage="javascript"> function Init() { var table = document.createElement("tbody"); var newrow,newcol,tmp; var array = new Array(16); for (var i=0 ; i<16 ; i++) array[i] = … |
The End.