15,121 Topics
| |
Hello, i have problem with an alert event to show the current link id. but that is not working... click the generated links... function addLinks () { for (var i=0, link; i<5; i++) { link = document.createElement("a"); link.innerHTML = "Link " + i; link.onclick = function () { alert(i); }; … | |
I would like to put all my coordinates into an array and have a loop display each one but with a Google function. Here's the code, which draws the points on google map: var flightPlanCoordinates = [ new google.maps.LatLng(37.772323, -122.214897), new google.maps.LatLng(21.291982, -157.821856), new google.maps.LatLng(-18.142599, 178.431), new google.maps.LatLng(-27.46758, 153.027892) ]; … | |
Forum Member - UzuNarU posted this ajax solution to pull content from an outside page and placing it in a <div> tag in this forum [(His code post)](http://goo.gl/PP4ma)... and it's working great for us... with one big exception... We sometimes have javascript code coming back using this ajax process - … | |
I have three combo boxes in my program... look like this --> box1 number letter box2 1 - 2 - 3 - 4 - 5 - box3 1 - 2 - 3 - 4 - 5 - How can i do it work in this solution ? such as... in … | |
So I have a text file with sets of 4 items I want to go in different arrays. I've tried the following but without success. <?php $urls="list.txt"; $page = join("",file("$urls")); $kw = explode("|", $page); $count = 0; $links = array(); $images = array(); $widths = array(); $heights = array(); for($i=0;$i<count($kw);$i++){ … | |
Suppose I have a multiLine textbox such as this one. I type SELECT [tablename] dot....(for example: tblEmployee.FirstName) Do you think it is possible to get a list that will show a list of possible attributes for the table? All the intellisense textboxes I've seen are single line. I would like … | |
Hello, i'm currently struggling to solve a very annoying issue that appeared when I was programming my HTML page I'm getting an error in this function function Tags() { if ( xmlHttpObj.readyState == 4 && xmlHttpObj.status == 200) { var docXML = xmlHttpObj.responseXML; var tagsElem= docXML.getElementsByTagName("name"); alert("check"); var tags = … | |
| I have a form with 1 textfield, on pressing tab the value in input is saved and the form refreshes. the first time I open the form there's a focus on the input text (I have this jQuery('#input_x').focus(); when creating the form code) but when the form refreshes the focus … |
Sorry, I am very new to AJAX, and I while there are tons of examples out there, it is hard for me to understand. If you could please help me out with my specific example I'd much appreciate it. The AJAX syntax is just very strange to me. Anyway, I … | |
Hi all, how would you adjust the height of an iframe based on its src content? I want to integrate a forum (phpbb) inside my custom made website. The problem is that there is no way to dynamically adjust the iframe height... im pulling out my hair here... I thought … | |
Hi, folks. I have written some pretty complicated programs in Javascript (in terms of the code itself), but I haven’t experimented much with the nuts-and-bolts of Javascript. In particular, I have written all my programs as single blocks of code. For example, I have written several programs to solve for … | |
I know that I can import an css file in other css file with @import Ex: @import "style.css"; and i use this in allcss.css Can I do something like this in javascript, import a javascript in other javascript ; | |
<html> <head><title>hi</title> </head> <body> hi deni </body> </html> | |
i'm creating some forums type task so i want to display the notifications botom of the page for few seconds like facebook notifications which is posted by the students so how can i can anyone help me :) :) | |
I have been asked to create a webform for my company to replace an excel document we use. Basically it is an interval report that gets filled out and emailed to all upper management. The webform layout is the same as what we would have used in Excel. The whole … | |
I have a question about the AJAX Get Function: How do we use the AJAX get function to call a php script every ten seconds and place the information on the website and it can still be copied and paste without refreshing. I created a script that calls the php … | |
I have scoured the google searches and haven't run across an answer to this question. I have a Select field that gets values from a database. That part works fine. The database contains four fields: specialistid, name, cell, email I would like for the user to select from a dropdown … | |
hi, i have a asp page in which iam using iframe to load a aspx page,but it is taking long time to load a page,so we r using div tag to load a page.is this possible to load a page using div.whats the javascript to load a page using div … | |
I'm getting the form is not defined error when is use`form.parentNode.appendChild(iframe);`inside a javascript function, I don't know why. Any suggestions? | |
I have been working on a new website that scrolls 100% height/width panels one at a time. The panels are under a fixed header, and are wrapped with `<div id="container></div>` I am, however, having some trouble implementing the javascript. Once setup, the page should issue allerts with each mouse scroll … | |
Hello, I have textboxes and I want to add the inputted values, however, some of the textbox(es) have null values and it gives me a "NaN". what should i do? thank you :) this is my code. sep = parseFloat(document.getElementById('txtSep').value); oct = parseFloat(document.getElementById('txtOct').value); nov = parseFloat(document.getElementById('txtNov').value); dec = parseFloat(document.getElementById('txtDec').value); amt … | |
is there a way that I can do this? I want to, call a java function from an HTML page and set a varaible, (function 1) then switch to a new web page and read the same varaible that was set, (function 2) I would like to do this in … | |
Please help me, I want to enable ajax extensions in my tool box. This is my first time I want to use ajax extensions. When I click show all on the toolbox, it show the ajax extension panel but the control can't be drag to the form, please kindly help … | |
I'm new to javascript. Lets say I need to create a new `<p>` everytime the user clicks on a button. So I create a button in the html body and assign a function as the event handler of `onclick`. This function is in a separate file called "file.js" which I … | |
never programmed in JavaScript before, so I ask your assistance to display the expiry date when user chooses start and end date from the calendar. After selecting the end date from the calendar, the expiry date should display added two months to the end date. For example: The user chooses … | |
Hi , In my website , using jquery I animated my banner . I downloaded bumpbox 2.0 from http://www.artviper.net/website-tools/bumpbox-lightbox.php and integrated in website to generate pdf file lightbox . Light box is working but my banner jquery is not working . I mean banner is not animating.Banner animation jquery is … | |
Hi guys i got a problem, I have a page requesting rows from the other page via ajax the data that will be return includes a field for date, then use datepicker, my problem is the return data doest read datepicker from jquery cause it is retrieved via ajax heres … | |
Hey guys, I'm a noob in javascript and want to know what I'm doing wrong. What I'm trying to do basically is hava a select menu determine where my strings are to be stored. Here is what I'm doing: The code: <form id="form1" name="form1" method="post" action="push.php"> <select name="ga" id="ga" onchange="gameApp(this);"> … | |
I need some help getting the included ajax script's xmlhttp.open() to target a php code within the same page --something like $_SERVER[PHP_SELF] here is the script: [code] <script type="text/javascript"> function showResult3(strss) { if (strss.length==0) { document.getElementById("livesearch3").innerHTML=""; document.getElementById("livesearch3").style.border="0px"; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new … | |
hi there, I just have a few questions about HTML5 and one of its features that is geolocation. My group members and I are thinking to develop a social-networking IOS application that lets you check-in only if you're using a mobile phone. The core idea is that if you're at … |
The End.