15,121 Topics

Member Avatar for
Member Avatar for esparkinfo

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); }; …

Member Avatar for Taywin
0
225
Member Avatar for hiyatran

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) ]; …

Member Avatar for Taywin
0
104
Member Avatar for goldentuna

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 - …

Member Avatar for Taywin
0
395
Member Avatar for bappi1987

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 …

Member Avatar for Bachu
0
196
Member Avatar for persianprez

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++){ …

Member Avatar for Bachu
0
182
Member Avatar for maurices5000

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 …

Member Avatar for maurices5000
0
147
Member Avatar for Diogo Martinho

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 = …

Member Avatar for adam.adamski.96155
0
203
Member Avatar for arcticM

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 …

Member Avatar for arcticM
0
116
Member Avatar for PhilEaton

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 …

Member Avatar for goldentuna
0
340
Member Avatar for fred999

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 …

Member Avatar for goldentuna
0
2K
Member Avatar for DavidB

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 …

Member Avatar for goldentuna
0
277
Member Avatar for Alexandro

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 ;

Member Avatar for goldentuna
0
687
Member Avatar for semere mehari
Member Avatar for rotten69
0
71
Member Avatar for ratanji

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 :) :)

Member Avatar for adam.adamski.96155
0
129
Member Avatar for greenbluekidz

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 …

Member Avatar for greenbluekidz
1
1K
Member Avatar for programmer12

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 …

Member Avatar for programmer12
0
104
Member Avatar for fgregory54

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 …

Member Avatar for fgregory54
0
177
Member Avatar for greeny_1984

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 …

Member Avatar for goldentuna
0
15K
Member Avatar for cmsc

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?

Member Avatar for otengkwaku
0
121
Member Avatar for dolphinaura

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 …

Member Avatar for McLaren
0
189
Member Avatar for bLuEmEzzy

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 …

Member Avatar for bLuEmEzzy
0
151
Member Avatar for Paulxh

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 …

Member Avatar for otengkwaku
0
261
Member Avatar for opman234

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 …

Member Avatar for opman234
0
183
Member Avatar for theguitarist

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 …

Member Avatar for Taywin
0
218
Member Avatar for bettybarnes

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 …

Member Avatar for Taywin
0
193
Member Avatar for subrata_ushasi

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 …

Member Avatar for subrata_ushasi
0
239
Member Avatar for code739

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 …

Member Avatar for JJenZz
0
3K
Member Avatar for persianprez

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);"> …

Member Avatar for urtrivedi
0
289
Member Avatar for mbarandao

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 …

Member Avatar for DrChocolate
0
4K
Member Avatar for rotten69

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 …

Member Avatar for chrislim2888
0
280

The End.