15,127 Topics
| |
How do i use a function to find the average of the values in an array of numbers passed as argument to a function.(using java script) thank you for your help... | |
please help with this program it outputs and stores the last data added into the array(replaces all other data with the last data that was stored in the array). [CODE]<html> <head> <script language="javascript"> function Book() { this.title="not yet selected"; this.isb="" this.copies=0; this.price=0.00; } var obj=new Book(); function begining() { //alert("the … | |
I've searched around, and the closest I have found is at [URL="http://www.ajaxim.com/"]AJAX IM.[/URL] Seems nice, and has pretty good functionality. I don't know if it has a sitewide setup, and I am wondering if there is a solution that might have the same style as facebook by having a small … | |
Hi everyone, Im very new to the ajax world and have been looking at using jquery for most of my Ajax work. However I am trying figure out how i would poppulate a select box with an ajax call. Would anyone have a super simple function or script that will … | |
hello all users, i hope you all are fine Allah bless you always. i come here for some little help. actually i have made website in html and simple php pages. its ok for me but i want to add there one ajax code which is like before page open … | |
I want to use a for loop to display * ** *** in javasript does anybody know how? | |
Hello, I'd like to ask you guys for an advice. Got this function to request some sentences from database (using php file with mysql_query(SELECT *...) stuff, then echoing the result and passing as a parameter to function displaySent(oXHR.responseText, select_sent) - which displays this text using some parsing procedure into the … | |
Hi Everyone, I am using javascript code for removing some records. When i am click on delete selected button. I want this should demand one confirm button in which i want if we click OK in confirm box then the record should be removed from database and if i will … | |
I would like to find out how to fix drop down menu over flash when the flash content brought by the java/script below into iframe? You may see what I am talking about here : [url]http://67.220.225.130/~ktaelot/#[/url] Here is the script: [CODE=javascript]<script type="text/javascript"> var fo = new SWFObject("ext/viewer.swf", "viewer", "100%", "100%", … | |
hi, I have 3 inputs for quantities to be entered by user, then when user enters a quantity , I should get 2 results ; one in the first add-on total input textfield which is the quantity entered by user multiply by the fixed price for the first add-on (eg.3.75). … | |
Hi I have a problem with my javascript the functions are not working, and I have a little knowledge about JScript. Firstly, the user will select from the list box a designer name, then a flower, and then a cake. The total will come up when the user clicks on … | |
I am doing a small program using a function to print out the real root or imaginary root. The problem is, it only prints out what the numbers that the user input. However, it does not print out the rest. For Example: It prints out this: a = 4 b … | |
Hi there, I found this great code that allows for chained selects with php and ajax. I have 2 boxes working great, and almost 3 - that is where I have a problem. Here is the code: [CODE] var ajax = new Array(); function getAgencyList(sel) { var bargainingUnit = sel.options[sel.selectedIndex].value; … | |
Hi all, I have MP3 player from [url]http://www.premiumbeat.com/flash_resources/free_flash_music_player/multiple_tracks_mp3_player_menu.php[/url] and I want to put it in my page. I want it to appear in every page. I'm pretty new to many PHP stuffs and with PHP page I judt do simple include statement. How do I do that? Here is their … | |
i am using javascript for validations purpose...i want to know all the functions in javascript ... can any one tell me is there any link to free download javascript book.... | |
Hi there, I have a problem in FireFox, whereby a Javascript function only works if I make the first line of code an alert() statement. If I take out the alert() statement, the following code doesn't work. Any ideas ? The alert() statement I am talking about, is the first … | |
Hey there everyone, hoping I could get a little insight on my problem. When calling my function friend_list(), I'm getting an error that I do not understand nor know how to fix. Here is the code.. [code] function AsyncRequest(){ this.check=function(){ var xmlHttp=null; try{xmlHttp=new XMLHttpRequest();} catch(e){ try{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");} catch(e){xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");} } … | |
Hi, When try to validate the textbox generated by innerHTML, it returns "Undefined" for the textbox. Therefore, i cannot validate it. Thanks [code] <html> <head> <script type="text/javascript"> function validateForm () { if (document.form1.textContactname.value.length == 0) { alert ("ERROR"); return false; } return true; } function createInvoice () { document.getElementById("hiddenPayment").innerHTML = … | |
Hi, I am trying to create a playlist using JCarousel. I am trying to create playlists changing with tabs. When the page loads for the first time playlist works correctly, but when I click on a tab and change the contents of the playlist when i scroll playlist goes out … | |
I'm attempting to read in a user's weightlifting history from a database using a php file(viewworkout.php) to first run the query and then a js file to get the results from the query. the script below is all i have so far, and it [code] <script type="text/javascript"> <?php include("viewworkout.php"); echo … | |
I am trying to display/hide different div tags when a checkbox is checked and when a California is selected as a drop-down value. I have it working when the check-box is selected and choosing the drop-down value, but not when the drop-down is selected and clicking the check-box. I hope … | |
i am using javascript for validations......i want to know all the function in javascript ...can any one tell me the link for free download javascript book plz | |
Hi, I am using prefunction attribute of autocomplete. The javascript gets executed at the time of page load. But the requirement is to get executed just before displaying the values retrieved from ajax autocomplete. Plz reply.. | |
I have a menu div that I have styled so that is always visible on my page. When a user clicks a menu item they are taken to that section of that page using an anchor withing the page but the menu remains visible/constant to the left of the screen … | |
Hello, I am looking for a user.js file to use with Opera to fix a YouTube issue. When you log into YouTube and click the yellow "Upload" button, you are brought to [url]http://www.youtube.com/my_videos_upload[/url], where the "Upload Video" button is nonfunctional in Opera unless the page is scrolled or reloaded. If … | |
Hi, I use a code to display the counter result and to refresh that value I actually refresh all the page, I'd like to refresh the script only without refreshing the full page but I don't know how to modify the code to make it work. Here's the actual code … | |
Hello, I looked all over the forums here but couldn't find anything on this: I'd like to have a js random image (1 out of 4) load each time a user visits my page. Along with that image, I'd like a specific quote and sub heading (text) to appear -the … | |
Hi... Can some one point out as to why my code does not work? I've created some cookies like this: [code] var gotCookies = get_cookie(cookie_name); var exdate = new Date(); exdate.setDate(exdate.getDate()+10); if(gotCookies != null) { //var gotCookie = document.cookie.split("; "); //var old_selection = gotCookie[0].split(", "); var new_selection = cbId; document.cookie … | |
Hi I had 2 div layers in my php page. One of them is dragable ( suppose div B ). I need to fade out all the items except div B. Because of that I can view the div A clearly inside div B. Please help me with an advise … | |
hi all, when i want delete items i will show a alert to users like are you sure you want delete .now i want a X symbol or danger symbol in that alert box ,i dont have any idea how to do this any ideas! thank you |
The End.