15,688 Topics

Member Avatar for
Member Avatar for mattyd

Hello. This is probably something very simple that I am missing (Or something that I have done wrong), but upon filling in and validating all fields of the form and pressing the "Register" button nothing happens; Usually the page would reload as if the form had been submitted. The code …

Member Avatar for Troy III
0
392
Member Avatar for jj.dcruz

Is there anyway i can change this code to a ajax format? $(document).ready(function(){ $("td[contenteditable=true]").blur(function(){ var msg = $(".alert"); var newvalue = $(this).text(); var field = $(this).attr("id"); $.post("update.php",field+"="+newvalue,function(d){ var data = jQuery.parseJSON(d); msg.removeClass("hide"); if(data.status == 200){ msg.addClass("alert-success").removeClass("alert-danger"); }else{ msg.addClass("alert-danger").removeClass("alert-success"); } msg.text(data.response); setTimeout(function(){msg.addClass("hide");},1000);//It will add hide class after 3 seconds }); }); …

Member Avatar for lps
0
335
Member Avatar for mattyd

Hello. I am rebuilding a registration page and the accompanying form. I am at a point of implementing jQuery for password validation. It will not validate nor does it give error messages. I have researched this on other sites but nothing so far seems to work at all. Please see …

Member Avatar for AleMonteiro
0
1K
Member Avatar for Troy III

# Determine if a namespace/variable-name exists # ## Check for namespace existence in your environment variables and objects before writing to them. ## **Guess if "Book1.chapter22.paragraph37" exists without provoking errors and retrieve/send data if it exists with simplest JS expressions.** Call syntax: isNS( [string], [num] ); Example: var nsresult = …

Member Avatar for Troy III
0
308
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
243
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 Trabelsi

i am trying to develop a humain ressource management application with php, html 5 and jQuery the access to this application must be with a login and password, below the source code of two scripts i have developed to ensure access with login and password to the application (login and …

Member Avatar for Trabelsi
0
319
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
112
Member Avatar for SeanKann

I have a page that has 2 forms on it. It's an inventory system. One form is to add items to your inventory. The second form is to update your qty of each item. The first one that adds items to the inventory works fine. But the second one will …

0
253
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
361
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
363
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 uchejava

I need your suggestion on something. I want to display a 'message notification' on my menu bar. I want it to be like the Facebook message notification. When I have a new message, '1' should show close to the message menu e.g. 'Message 1' (I can use CSS to style …

Member Avatar for Eagle.Avik
0
204
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
749
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
398
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
129
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
315
Member Avatar for rouse

I the objective of the code that I attached this note is to Collect data in a form. Post to a PHP file where the collected information is turned into a JSON Write the JSON information to a file Return the JSON and print it to the an ID in …

Member Avatar for rouse
0
570
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
190
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
486
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
218
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
148
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
422
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
326

The End.