14,054 Topics

Member Avatar for
Member Avatar for samson.oba.77

I´m still new to javascript.For training purpose I have inserted part of a javascript(lines 23 to 31) code into my html file and it works the windows.alert and number 12 shows But when i uncomment parts of it (lines 26 to 28) that javascript code doesnt work well again,the windows.alert …

Member Avatar for Troy III
0
242
Member Avatar for uettttt

Is it possible to implement Google maps like website in PHP using Google maps Api v3?? Please help me

Member Avatar for cereal
0
29
Member Avatar for tNicknames

Viewing source im getting _gaq.push statement like this **_gaq.push(['_trackEvent', 'Tutor_account', 'Worksheet_assigned', '2307', '1']);** I have included js and setaccount details.

0
89
Member Avatar for piers

Hi, I have been trying to save the state of a sortable list. I have been able to save the sort order to localStorage and get the sort order so that I can display it on the console but I cannot get it to be the order it was last …

Member Avatar for piers
0
3K
Member Avatar for Muhammad_63

i am creating a program that will help user when they are doing survey during the survey they enter for example from 1 to 25 value in text box1 the text box 2 should show 1st Grad if user enter value from 25 to 50 in same text box should …

Member Avatar for piers
0
111
Member Avatar for SoMa_2

I'm trying to create a webpage to help teacher determine CLO and PLO for exam questions First user will type the keyword in text box and select the chapter CLO() function will start the AJAX the result should be a CLO Number in CLO column and PLO options in PLO …

Member Avatar for asgs
0
357
Member Avatar for Hong_1

Following is the javascript that will change the images in a specific time function startTime() { var timerid = 0; var images = new Array("CSS/Images/shy-baby.jpeg", "CSS/Images/yao-ming.png", "CSS/Images/success.jpg"); var countimages = 0; if (timerid) { timerid = 0; } var tDate = new Date(); if (countimages == images.length) { countimages = …

Member Avatar for DaveAmour
0
248
Member Avatar for mattyd

Hello, I am experimenting with implementing jQuery to validate my form (I hired a programmer one year ago to do this but it seems she made a mess of it so I am attempting to rebuild it.) I have multiple fields in my form and I wish many of them …

Member Avatar for jj.dcruz
0
362
Member Avatar for tqmd1

Sir I using Gallery Slider from this link http://www.a2zwebhelp.com/jquery-auto-image-rotator It works fine but after sometime Google Chrome displays this error message Either Chrome ran out of memory of or the process for the webpage was terminated for some other reason. How to overcome this error message message. I have these …

Member Avatar for AleMonteiro
0
235
Member Avatar for kazkuzzer007

Excuse me, I want to ask how to make javascript countdown doesn't reset when page refresh?? thank you in advance

Member Avatar for piers
0
4K
Member Avatar for idesignyards

I have saved a javascript in notepad with an .htm extension. When I go to file then open and type in the file name, it just opens up a it as an address in the address bar. I want to run the program in internet explorer, how do I do …

Member Avatar for piers
0
3K
Member Avatar for xuexue

hi guys, i just want to ask, how could i get the value of the textbox using the onchange() function. i know that using the form action and method get is one possible solution but what i want is that the value of the textbox in page1 should be passed …

Member Avatar for Manoj_16
0
15K
Member Avatar for ashok_11

<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <!-- directorySlider Javascript file --> <script src="js/directorySlider.js"></script> <script src="js/directorySlider.min.js"></script> <script> $('#slider-main').directorySlider({ animation: 'fade', filebase: 'img_', directory: 'images/', extension: 'jpg', numslides: 2, height: 200, width: 483, timeout: 100 }) </script> </head> <body> <div class="directorySlider" id="slider-main"></div> </body> </html> <meta http-equiv="Content-Type" …

Member Avatar for AleMonteiro
0
745
Member Avatar for AleMonteiro

Hi all. This is somewhat the equivalent of .NET String.Format(String, Args); Usages: 'Hello {0}'.format('DaniWeb!'); String.format('{0} {1} {2}', 'Hi', 'Again', 'Good Fella'); String.format('Hello {prefix} {name}', { prefix: 'Sr.', name: 'HeyHeyHey'}); I know there's lots of String.formats out there(some simpler and some more complex), but this is the one i've been using …

2
396
Member Avatar for nevek

Hi When I try this if in IE 9 with my variabels like: maxGrootte = 12 and minGrooote = 5 it enters into the if condition if(maxGrootte < minGrootte){ bericht += "\t -Het minimum aantal deelnemer kan nooit groter zijn dan \n"; bericht +="\t het maximum aantal deelnemers\n"; status= false; …

Member Avatar for DaveAmour
0
127
Member Avatar for chichi9

--Create an array to contain the path to the image’s source. Don’t hardcode the path into the array. Use a loop to retrieve the name of the file from the source of the image (ie. <img src="img/house.jpg"/>.-- this is my jQuery $(function(){ var slideShowContainer = $('.slideShow'), slideShowItem = '.slides li', …

Member Avatar for DaveAmour
0
289
Member Avatar for rouse

I have a jQuery post problem. I am sending information from a form with a jQuery click function. [code] $("#donateButton").click(function (){ $.post("creditCardAuthorize.php", { amount: $('#amount').val(), description: $('#donation').val() }); $('#rightContent').html(ajax_load).load('content/creditCardAuthorize.php'); }); [/code] The problem is that on some browser it goes to the correct page, but on others it goes to …

Member Avatar for rouse
0
188
Member Avatar for rouse

I am trying to add a secondary level to Chris Coyer Magic Line menu. I have made some progress but it is not complete. Right now I am stuck on 3 spots to make it complete. The placement of the secondary menu, the overlay of the secondary menu and the …

Member Avatar for rouse
0
484
Member Avatar for Danny_501

Hi, I'm trying to make a label visible by clicking on a button. The following code will make the label visible, but will disappear in less than a second. I'm assuming its because the form is getting submitted in the java script, so the page is getting refreshed? Is there …

0
207
Member Avatar for edbr

i am trying to get to modify this script . i have a form that returns the longditude and latitude from google map api. I am trying to insert that data into a new form. With a lot of uyahoogling i made some progress but canyt nail this down or …

Member Avatar for DaveAmour
0
147
Member Avatar for Ravenous Wolf

i would like to know if php can replace javascript as a client side script. one can use javascript to do all kinds of things like computing values in textboxes and check them for errors and so on. is it possible to use php in its stead? lets say i …

Member Avatar for abexer
0
419
Member Avatar for sri.

i got a below eror on my windows-8 apps when i run this code //code <script src=" /lib/jquery-1.7.2.js"></script> <script src="/js/modcoder_excolor/jquery.modcoder.excolor.js"></script> $(document).ready(function () { $('#my_input').modcoder_excolor(); }); //eror SCRIPT28: Unhandled exception at line 5, column 1174 in ms-appx://fa516517-befe-47aa-89d8-5790abfd39df/lib/script.js 0x800c001c - JavaScript runtime error: Unable to add dynamic content. A script attempted to …

Member Avatar for Kevin_14
0
322
Member Avatar for robertkt6

My code is <script type="text/javascript" language="javascript"> function displayHideBox(boxNumber) { if(document.getElementById("LightBox"+boxNumber).style.display=="none") { document.getElementById("LightBox"+boxNumber).style.display="block"; document.getElementById("grayBG").style.display="block"; document.getElementById('t').value; } else { document.getElementById("LightBox"+boxNumber).style.display="none"; document.getElementById("grayBG").style.display="none"; } } </script> <style> .grayBox{ position: fixed; top: 0%; left: 0%; width: 100%; height: 100%; background-color: black; z-index:1001; -moz-opacity: 0.8; opacity:.80; filter: alpha(opacity=80); } .box_content { position: fixed; /*top: 55%; left: …

Member Avatar for robertkt6
0
223
Member Avatar for berserk

Im sure this question has been asked before but i cannot seem to get what i need working right for me. i need this ajax to process my php form, i got that for, at least i think. I wrote some ajax to do this and it WILL at least …

Member Avatar for berserk
0
382
Member Avatar for mbarandao

I need a secondary review of the following script to help identify an issue of inconsistency with a function. The code allows me to perform a live search on a specified content. If a match is fount, it allows for me to click on a link and toggle() the content …

Member Avatar for mbarandao
0
382
Member Avatar for amrak

Hi all, I am trying to create a multiple drop down list in my codeigniter project with the following hierarchy Dzongkhag(District)->Geog(Town) ->village. I am unable to get any display in the town and village drop down list. The following are the snippets from my project. //controllers/form.php $data['dzongkhags'] = array( 'Bumtang' …

Member Avatar for amrak
0
1K
Member Avatar for JorgeM

When users interact with your web page and processes, it is important to provide them with continuous feedback. Without the feedback, a user is left wondering if you page is actually processing work, frozen, or just not working. This is especially true when incorporating Ajax requests that take more than …

2
1K
Member Avatar for sandeep.tete

I have a javascript code showing current time, which i want to store in php variable. The store value in php will then be used in sending through form to an email id. I just want to store the value in php. document.getElementById('time') Any Help/ideas appreciated. <script type="text/javascript"> <!-- function …

Member Avatar for JorgeM
0
6K
Member Avatar for VenusCrystal

Hi Guys, Does anyone know if we can have template within another template using mustache js ? If yes, can you please provide details how to do it? Or any other alternative if it cannot be done? I have a block of html code which I want to make it …

Member Avatar for pritaeas
0
179
Member Avatar for daz_omega

Hi, I have an unusual problem, I am developing within a wordpress environment and using a plugin. To futureproof the plugin I do not want to edit the code that is generated to include HTML tags, because when the plugin is updated it will overwrite my change. I am looking …

Member Avatar for gentlemedia
0
395

The End.