15,121 Topics
| |
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" … | |
Hello Lets say in the localStorage object I have the following: Apple = red Potato = brown Gum = blue And I want to search thru it for the word Potato and then get its value (brown). How could I do this? Im thinking: for (var i=0;i<localStorage.length();i++) { if (localStorage[i]=="Potato") … | |
Hi, I know it's possible to add actions for elements that are not in DOM yet, like $(element).live('event',function() { //code here }); Is there any way to execute the code without the event, or give it an event like 'exists' ? Like, when object is added, the function executes automatically, … | |
Hi all. I need to fix a bug in a code, it is not displaying properly (it appears in the upper-left corner and when I try to click on it, the page reloads). I cannot figure it out myself. Please help. <div class="btn_center" style="padding: 0 0 10px;"> <fieldset> <div class="edit_entry … | |
I'm working on my first web app, and have a simple version of the application working. It allows the user to create and edit a fantasy map from a set of terrain tile images - but I can't figure out how to make it print. A print preview (and an … | |
Here is the code: var Circle = function( radius ) { var _radius = radius, _area = function() { return Math.PI * _radius * _radius; }, _perimeter = function() { return 2 * Math.PI * _radius; }; this.radius = _radius; this.area = "Area" + _area(); this.perimeter = "Perimeter" + _perimeter(); … | |
Any way to show "printed success" message in website after printing completed in printing machine? I need to implement this function in my client website using either .Net, jquery, java script. CONDITION: The data displayed in grid with "print" option when user click the "print" the default browser print dialog … |
The End.