15,127 Topics

Member Avatar for
Member Avatar for LegateLucius

hello im a newbie in javascript and im working oon a project can someone help me learn form validation in javascript also give me links on great tutorial sites

Member Avatar for LegateLucius
0
332
Member Avatar for turpentyne

I have an error showing up in IE 10 and in Chrome: The chrome version: Uncaught TypeError: Object function ( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' return new jQuery.fn.init( selector, context, rootjQuery ); } has no method 'format' Unfortunately, I'm not …

Member Avatar for paulkd
0
225
Member Avatar for Rizi004

Hi there I have a html page in which i have flash video and youtube video if borwser detect flash player the flash player vidoe run but if flash player not detect than it play youtube vidoe and the problem is that the iframe not open the youtube video it …

Member Avatar for Rizi004
0
3K
Member Avatar for turpentyne

I just discovered that when I run my page in IE 7 - 10, this little function is killing the rest of my javascript file. Any thoughts?? if(window.location.hash) { $('#slidestart').stop().animate({ opacity: 0 }, 300, function() { $("#slidestart").css({display:"none"},100); setTimeout( function(){ $("#allbut").css({display:"block",opacity:0},100); $('#allbut').stop().animate({ opacity: 1 }, 400, function() { $('#slidestart').html(' '); }); },255); …

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

Hi, I have a page that has some images in groups of 1, 2 or 3. The image paths are retrievd from a mysql table. You click on one image and the whole group gets shown in another div. This works fine, I want to show the images using the …

Member Avatar for GlenRogers
0
129
Member Avatar for tossot92

I create a membership website on website that required registration to see full website. I also want users register from specific country. To archive this goal, I also add SMS verification on my registration page and restrict phone number field only for country that I want i.e. `923`. If Phone …

Member Avatar for noahwilson
0
325
Member Avatar for jonsan32

I'd like to figure out how to (if there is a way) to have 3 dependent dropdown boxes with a submit button that could filter my blog by label. It's for athletes who want to be recruited. I'd like for coaches to be able to select a sport, then select …

Member Avatar for LastMitch
0
359
Member Avatar for pritaeas

I am in the process of updating a website, which uses Highslide and a thumbnail strip on the bottom. The old website works ilke a charm but the new one fails. On my test website (newer layout) the thumbnail strip shows the last picture five times. [Page on original website](http://www.onderwaterwereld.org/library/nl-zout/anthozoa/alcyonium%20digitatum) …

Member Avatar for pritaeas
0
108
Member Avatar for cgull

Showbiz carousel and cycle problem Hello, I am looking for a jquery guru that can help with a plugin that I bought. The developer of the plugin does not answer me and I need to go live next week. The plugin is called: Showbiz Carousel. It is a carousel for …

Member Avatar for LastMitch
0
393
Member Avatar for ultramel

hi I have the following which brings up the print window for my page, however, I would only like to print the "echo" form data which is being displayed and not the entire page. any suggestions would be greatly appreciated :-) Thank you <script> function printpage() { window.print(); } </script> …

Member Avatar for almostbob
0
206
Member Avatar for code_rum

Hi, I am using timepicker. Onclick of textbox, timepicker open up with time mentioning 12am by default. but when I click on ok 12.00 am doesn't comes up in the textbox. The only way it comes up is when I slide it to certain time and back to 12.00 am. …

Member Avatar for pixelsoul
0
263
Member Avatar for RinzLove

Hi, I've problem on the coding to save form values and display on the next page (without database). The code shown here is inside "catalog.html" Onclick image, the input will be saved and display on the next page i.e. "cart.html" I don't need a database. Just temporary save like storing …

Member Avatar for radhakrishna.p
0
296
Member Avatar for erum

hello to every one I have following code and it simple example of timer ..and it should appear alert after 3 seconds but this does not happening .. any help <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Paper.aspx.cs" Inherits="JQueryAjax.Paper" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> …

Member Avatar for radhakrishna.p
0
208
Member Avatar for Jane160768

I need to validate that my textbox contains a first and last name. That it only has alphabet letters and upper and lower case. I know normally names could have other charaters but for this purpose I need them only to have letters. Regular expression can not be used.... If …

Member Avatar for pritaeas
0
209
Member Avatar for MasterHacker110

I am currently working on a big webpage project. I basicly need to create webpage that one can create your account with. I have the HTML part covered. I need to make a script in the client side of the webpage so that it will send the information e.g. First …

Member Avatar for MasterHacker110
0
211
Member Avatar for Jane160768

function isValidCard(num, isVisa, isMaster, name, mon, year) { if ((document.getElementById('radioVisa').checked == true) || (document.getElementById('radioMaster').checked == true) && (document.getElementById('isValidCardNumberArg').value == true) && (document.getElementById('isValidCardHolderArg').value == true) && (document.getElementById('isValidExpireMonArg').value == true) && (document.getElementById('isValidExpireYearArg').value == true)) { return true; } else { return false; } I need to verify all the functons in this …

Member Avatar for LastMitch
0
118
Member Avatar for PF2G

Hi, i'm trying to make a textarea (WYSIWYG Text Editor) where i write a text and i can mention people from the Database. so i found this website and it is excellent for what i want to do but how do i add a link to the person i mention? …

Member Avatar for LastMitch
0
95
Member Avatar for concepcionmark

Hello everyone! I am not good in PHP, AJAX, jQuery and JS. I am exploring and doing self study on a chat application on web. But I can't figure out why every time the message received by the other user, it duplicates as if its copying all the recent messages …

Member Avatar for concepcionmark
0
209
Member Avatar for turpentyne

I'm trying to replace this set of if statements as an each statement. but I'm a little confused on how to do this. I just want to cycle through a series of images that have the class .hotspots and change source, after detecting whether they have one of 4 other …

Member Avatar for chr.s
0
123
Member Avatar for Ritesh_4

Hello, I have a script which is as follows (not written by me), and would like to get the value of "content" in this case to be displayed on the screen for test purposes, how can I do this? <script type="text/javascript"> $(document).ready(function (){ var content = $('#menu-upper').html(); $('#menu-upper').html(''); $('#menu-lower').html(content); }); …

Member Avatar for Ritesh_4
0
183
Member Avatar for Diogo Martinho

Hello, I'm currently creating a website in C# and I'm trying to add Globalization to my application, however there is an issue I'm currently facing related with the fact that I must change some labels for some buttons I've created in a javascript file, and I was thinking about using …

Member Avatar for LastMitch
0
244
Member Avatar for joshl_1995

Hello Community, I need help with getting javascript function arguments in php eg. function jsFunction(arg) { <?php phpFunction(arg); ?> } <button onclick="jsFunction(this.id);" id="XXXX"/> But when i press the button it doesn't send "XXXX" to the php function (<?php phpFunction(args); ?>) it sends "args" (as plain text). Please Help...

Member Avatar for joshl_1995
0
424
Member Avatar for phfilly

Hi all! I have a problem which I can't seem to fix. I would like to know is it possible to send a normal JS variable to a php page. I've tried the following and nothing seems to work. <input type="submit" value="Bookmark" onclick="bookmark();"> function bookmark() { var pageNum = 2; …

Member Avatar for phfilly
0
294
Member Avatar for Jane160768

function CardNumber(num, isVisa, isMaster) { var card = new Array(); if (document.getElementById('radioVisa').checked) { card = isVisa; } if (isVisa){ ((isNaN(num))||(num[0] != '4') || (num.length != 16)) return false; } else { return true; } if (document.getElementById.innerHTML('radioMaster').checked) { card = isMaster; } if ((isNaN(num))||(num[0] != '51') || (num[0] != '52') || …

Member Avatar for ryantroop
0
232
Member Avatar for jamey8420

I am using window.open to launch a link from within an iFrame. Here is my code to launch the link: =iif(Fields!budgetid.Value>1,"javascript:void(window.open('"+"http://test/forms/Su....aspx?BudgetId=" & Fields!budgetid.Value & "'))","") The link is showing up in my iFrame, but when I click the link nothing happens. If I right click, copy the shortcut, and paste …

Member Avatar for ryantroop
0
3K
Member Avatar for dhani09

I have the following code to draw any polygon on an HTML5 canvas on a button click. The user supplies the radius, sides, x and y co-ordinates. Using the sides any regular polygon should be drawn. First we move to the perimeter using moveTo() and then draw lines using lineTo() …

Member Avatar for IIM
0
200
Member Avatar for daniel.pareja.315

Hi all, would like to convert this javaScript code versatile so it will be able to extend various inputs of a form. var instance = 0; function moreFields() { // Check if there isn't more than 3 fields if(instance != 3) { instance++; // Create a child var clone = …

Member Avatar for daniel.pareja.315
0
151
Member Avatar for erum

i have follwoing code in jquery function CallService3() { $.ajax({ type: "POST", url: "MyService.asmx/Comments", // data: "{ 'loginid': " +"'"+ $("#txt_login").val()+"'" + ", 'pass': " + "'" + $("#txt_pass").val()+"'" + "}", data: "{}", contentType: "application/json; charset=utf-8", dataType: "json", success: OnSuccess3, error: OnError1 }); } function OnSuccess3(data, status) { if(data.d.length > …

Member Avatar for LastMitch
0
206
Member Avatar for Tewhano

I am working on an assignment from the book ‘New Perspectives: HTML, CSS and DHTML’ and I am unable to get the code to work. This is an online class and this book is not a desirable choice for this type of class. Basically I am to write code to …

Member Avatar for radhakrishna.p
0
421
Member Avatar for blivori

I am trying to search through a JSON file and display only the result matching the input form. When I click the 'Search' button, nothing happens. How can I resolve this? This is the code: <div id="search"> <form name="input" action="search()" method="get"> Search: <input id = "searchField" type="text" name="search"> <input type="button" …

Member Avatar for theHop
0
175

The End.