15,127 Topics
| |
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 | |
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 … | |
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 … | |
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); … | |
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 … | |
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 … | |
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 … | |
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) … | |
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 … | |
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> … | |
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. … | |
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 … | |
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"> … | |
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 … | |
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 … | |
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 … | |
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? … | |
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 … | |
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 … | |
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); }); … | |
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 … | |
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... | |
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; … | |
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') || … | |
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 … | |
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() … | |
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 = … | |
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 > … | |
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 … | |
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" … |
The End.