jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for hoaxvn

I have a question: Supposing that I am browsing a web page on my nokia (or some one else) mobile, In the Page, there is a HyperLink like "[B]Send 0109210[/B]" to win a prize, if I click on the HyperLink, the my phone will send a message to the [B]0109210 …

Member Avatar for wsdlab
0
116
Member Avatar for ItecKid

Hello, I have written a 'predictive text' widget using JavaScript/AJAX. When user enters a string of letters into form, the list of possible matches is displayed under the form. This works well and good, now I am trying to make it so that when the user clicks on a certain …

Member Avatar for Taywin
0
788
Member Avatar for Atomika3000

ok, got to make a program that allows a user to enter data into the text fields (specifically a name and a grade), it then needs to store it locally, it then needs to be able to create a graph, and work out the standard deviation and mean from the …

Member Avatar for Taywin
0
103
Member Avatar for Romik84

Hi there, I just try to figure out a function which will dismiss a text and saves it in cookies for next page reload/visit. My current code looks as follow: [CODE]<script src="http://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script> <script src="jquery.cookie.js" type="text/javascript"></script> <script> $(document).ready(function() { $.cookie("viewState"); var theState = $.cookie("viewState"); $("#R1").click( function () { $("#secret").hide("slow"); $.cookie("viewState", …

0
117
Member Avatar for phpDave

Hi everyone, I am trying to validate a user registration form. User must enter letters and/or letters only. [CODE]//check username $_POST['user_name'] = trim($_POST['user_name']); $checkChar ='/^[a-zA-Z0-9]+$/'; if (!preg_match($checkChar, ($_POST['user_name']))); { $error['char'] = 'Username must contain letters or numbers only'; }[/CODE] When I submit the error message keeps coming up when it …

Member Avatar for vitana
0
213
Member Avatar for Izzy123

im new to javascript and im currently designing a survey and i have to modify the survey using javascript, it has to do: the user should not be allowed to select any options from question 2 if they chose the last radio button of question 1. and i don't know …

Member Avatar for Izzy123
0
105
Member Avatar for GAME

[code]// ==UserScript== // @name Paid 2 Click Multi Bot // @description Clicks all the PTC pages for you // @include [url]http://paid2calculator.info/[/url] // @include [url]http://www.paid2youtube.com/surf.php[/url] // @include [url]http://www.paid2youtube.com/cheap_ads.php[/url] // @include [url]http://buxify.com/surf.php[/url] // @include [url]http://www.neobux.com/?u=v[/url] // @include [url]http://www.buxp.info/surf2.php[/url] // @include [url]http://ptcinnovation.com/index.php?view=account&ac=click*[/url] // @include [url]http://ptcinnovation.com/gpt.php?v=timer*[/url] // @include *paid2youtube.com/register.php* // @include *neobux.com/?u=r* // @include …

Member Avatar for GAME
-1
107
Member Avatar for pjrey

site with issue: [url]http://pjrey.com/guestbook[/url] ok, ive tried and tried, no luck. what i am trying to do is: 1) the modal dhtml sign/window auto load (but only one time per user) 2) on completing the form, and hitting submit, i want the parent window refreshed (to show new content that …

Member Avatar for pjrey
0
142
Member Avatar for itisnot_me

ok so i was trying to look into making a loading spinner be put up when i am using a get or post method but it started to get a little overwhelming with what some people did. if you could help i would like to know how to make it …

Member Avatar for itisnot_me
0
75
Member Avatar for neelesh kumar

I have two Picture Libraries. One has pictures and the other contains the thumbnails created programmatically by me. I am displaying the thumbnails into a custom webpart. I need to display the [U]original pictures[/U] on mouseover on the thumbnails displayed in webpart and the originals displayed should dissappear on mouse …

0
69
Member Avatar for pmarcusss

Hello! I wrote simple script which gets referer header (if sent) and looks for google keywords (and then highlight them). All works fine, when I have JavaScript turned OFF for Google (NoScript), otherwise there's always "http://google.com" in referer because of hashmark used to handle 'old' GET vars. Is there any …

Member Avatar for cwarn23
0
134
Member Avatar for Rohith Reddy

Hi, Can any one suggest me a java script to make a master page fit to all scree resolutions. Regards, rohith

Member Avatar for kvprajapati
0
93
Member Avatar for mejoyal

Hi all, Thanks for the interest, I want to set my menus like the categories in [url]http://www.alibaba.com/[/url]. ( the menu of the left side) on mouse over the sub menus should come up in the same way as here. How can I achieve this ? Thank you guys

Member Avatar for Graphix
0
80
Member Avatar for still_learning

Hey guys, Got a quick question for you. If I have an text input field for a search engine and I want the font to be larger, how would I do this? Right now changing the size attribute only changes the length of the field. Here is my code right …

Member Avatar for NaveenRahul
0
100
Member Avatar for OmniX

Yes I know you are not able to refresh in php, but insert meta tags into an echo statement that can refresh, or use javascript, etc. The problem is I have tried all these solutions and it still does not work. :( So I will tell you my problem and …

Member Avatar for ax8l
0
574
Member Avatar for niksfak

I am trying to use the pc as a recognition service I want to take the calls (the number of the caller) and use it to an html form I really need the part that i take the phone number of the caller and pass it to a form then …

Member Avatar for vasuka
0
96
Member Avatar for Ashu.sharma

[QUOTE=praveenkumarm;960895]Hi, You can do it using javascript and css. Try this code it might help. <head runat="server"> <title>Untitled Page</title> <style type="text/css" runat="server"> .cs { background-color:Window; } .cs1 { background-color:ButtonFace; } </style> <script type="text/javascript"> function mov() { var btnid= document.getElementById('btn1'); btnid.className='cs'; } function mout() { var btnid= document.getElementById('btn1'); btnid.className='cs1'; } </script> …

Member Avatar for kvprajapati
0
68
Member Avatar for dangari

Hi all.Please assist me on this matter.I am developing a jsp web app on which I want to use jmaki widgets. After installing the jmaki plugin into Netbeans 6.7.1, I dragged and dropped the jquery datepicker and got the following on my jsp page. [CODE] <a:widget name="jquery.datepicker" /> [/CODE] Problem …

0
74
Member Avatar for farmgirl69

EInterface: this Interface has an attribute NOW that holds the current date. DEFAULT_DATE holds a default date (May 1, 1990), and a series of formatters for currency, two decimals, and percentage (labeled as CURRENCY_FORMATTER, TWO_DIGIT_FORMATTER, and PERCENTAGE_FORMATTER respectively). Additionally, EInterface defines two methods: findGross and findNet. (Hint: explore a series …

Member Avatar for Taywin
0
92
Member Avatar for NoziphoR

Hello everyone! I need help with my code, I want to alternate more than just 2 images using a function and setInterval. Here is my code, can anyone tell me what's wrong with it? [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Banner Advertising</title> <meta http-equiv="content-type" …

Member Avatar for Taywin
0
134
Member Avatar for ceyesuma

Hello I am trying to figure what kind of code that would be needed to add a JTabbedPane to an JInternalFrame. I have 7 tabs added now (as many as I need) they are added by simply adding(hard coded) the "text name" to an array and every time the program …

Member Avatar for ceyesuma
0
103
Member Avatar for piblondin

Hi everyone, I have what I think is a very basic question. I want to make a JavaScript bookmarklet that will overlay a small window in the upper right of the screen with some text/html and a submit type button that will close the overlay when clicked. This is similar …

0
123
Member Avatar for baseballfury

Hi there, I've created a page that uses 2 seperate functions for passing variables. The first runs when the page loads and requests categories from a database to fill a dropdown box. The second function sends a date value and the contents of the select from the dropdown box to …

Member Avatar for baseballfury
0
204
Member Avatar for chakde

Hi, I am trying to display a number of text boxes and drop down menus using a For Loop. I can only display one of each time I select any number from the drop down menu. Currently the For loop is commented out, but if I leave it there nothing …

Member Avatar for Taywin
0
109
Member Avatar for x_mysterious_x

I m trying to make simple windows look like calculator in java script. but when i add two numbers the result is zeroy . can anyone take a look on the code and can tell me where is problem? [CODE] <html> <head> <title></title> <script type="text/javascript"> var res=0;var z="0";var o="o";var y=0;var …

Member Avatar for x_mysterious_x
0
131
Member Avatar for nakul_pancholi

Dear All, Hello..! I have one problem with html links. Suppose we want to set the link in our html document, we use <a href="filename.html"> Link </a> Suppose we want to go to a particular section to other html document then we use <a href="[COLOR="Green"]filename.html[/COLOR]#name> Link </a>. Here in this …

Member Avatar for almostbob
0
119
Member Avatar for qasimidl

I have from date and to date need to find no days from javascript?? e.g 30-3-2010 to 2-4-2010 like this

Member Avatar for Ramesh S
0
72
Member Avatar for gedas

hey guys new to all the web programming i have got a little task and have no idea where to start could someone help me please. well i have to draw a line between to different coordinates which are going on google maps so for example : [CODE] <Placemark> <name>mark …

Member Avatar for gedas
0
103
Member Avatar for tchiloh

in my program, if i press enter on the first textbox, than i set the focus to the second textbox. but the value of second textfield is for example A. so the focus go fore the A instead of after A. what can i do?

Member Avatar for tchiloh
0
144
Member Avatar for albertkao

Why the following code has the error: 'document.mainform.unknownHw' is null or not an object? function setUnknownHw(unknownHw) { document.mainform.unknownHw.checked = unknownHw; } <div class="special"> <form name="mainform" id="mainform" action="display.htm" method="post"> <br><br><input type="checkbox" name="unknownHw" onClick="setdbUnknownHw(this)">Unknown Hw <input type="submit" value="Apply" onClick="setdbRowsPerPage()"><br> </form> </div>

Member Avatar for almostbob
0
301
Member Avatar for phpDave

Hi, I have a counter and it works fine in firefox, but when I try to bring up the page to be counted in internet explorer in does not work. The page wont even be brought up in the browser. If I disconnect the include file to the counter it …

Member Avatar for phpDave
0
136
Member Avatar for Liammm

Simply put, in Firefox, the ajax links work fine. They're targeting a div and in Firefox everything is fine, but in IE, it mucks up. I do not see any links at all. Here's my javascript code. [CODE]<script type="text/javascript"> /*********************************************** * Dynamic Ajax Content- © Dynamic Drive DHTML code library …

Member Avatar for Airshow
0
144
Member Avatar for affee

so my PHP is operational. The script I want to run is here: [CODE] <div style=""> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr><td align=center><script language="JavaScript1.2"> /* Left-Right image slideshow Script- By Dynamic Drive (www.dynamicdrive.com) For full source code, terms of use, and 100's more scripts, visit http://dynamicdrive.com */ ///////configure the below …

Member Avatar for Airshow
0
169
Member Avatar for pritaeas

I can reproduce this bug in IE7 (and a colleague in IE6), my link is here: [url]http://www.pritaeas.net/tools/linkfarm/[/url] If you select a tag the list gets filtered and the tag added to the selected div. Unselecting it will reset the taglist, and remove() the tag from the selected div. Selecting another …

Member Avatar for pritaeas
0
316
Member Avatar for sniigg

Hi, In my application I have <li>s and I am using Jquery to remove a particular <li> The code I am using is [code] $(".close").click( function() { $(this).parent().remove()// Links with the class "close" will close parent return false; } ); [/code] Using this I am successfully able to remove a …

Member Avatar for Airshow
0
2K
Member Avatar for Akatosh

Ok following the suggestion from another user I have switched over to a GroupBagLayout. Following the java tutorial in hindsight this seems easier. But alas, I have ran into a problem which does not make any sense to me. See screenshot: [url]http://img189.imageshack.us/img189/1060/groupbaglayout.png[/url] I have started from a top down approach …

Member Avatar for Akatosh
0
117
Member Avatar for alyssajones

Hey people, I don'r know much about PHP so I think you can help me on this one. I have a email form and the action says: [CODE]<form id="contato" method="post" action="[COLOR="Red"]contact.php[/COLOR]">[/CODE] The php is placed as follows: [CODE]<?php $to = "conde.taly@gmail.com"; $subject = "Site Contact" ; $email = $_REQUEST['email'] ; …

Member Avatar for Member #120589
0
246
Member Avatar for mrcniceguy

i have a comment system of which member can insert smileys which commenting to something )))that works well...Now i want the smileys to be desplayed in a small popup window like the one i have attached in screenshot..and dont know how to make it possible... i just believe that it …

Member Avatar for mrcniceguy
0
83
Member Avatar for nathan_hastings

Does anyone know if there is a way of getting javascript to wait until I have pressed ok on an alert before it runs the next line of code? The site I am developing is in PHP but I have made this function to bring up a message box: function …

Member Avatar for Airshow
0
151
Member Avatar for jrw89

Hi all, I am trying to get an object to be aware of its own changes e.g. have it execute one of its functions but only when a variable has been changed from outside the object. Google gave me lots of references to XMLHttpRequest.onreadystatechange and this resource at MSDN: [URL="http://msdn.microsoft.com/en-us/library/ms536957%28VS.85%29.aspx"]http://msdn.microsoft.com/en-us/library/ms536957%28VS.85%29.aspx[/URL]. …

Member Avatar for jrw89
0
209
Member Avatar for amby

Hi, I am calling web service through jquery ajax call for the first time and getting an error. Can please somebody help me in this i would really appreciate it. Below is the code: [CODE]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="userNTID.aspx.cs" Inherits="Default2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Member Avatar for amby
0
194
Member Avatar for Cactusmania

Hi, I have two richtext boxes that contain text. I want to show the user what the differences are between them, line by line. So, the line could be highlighted in one color, and the actual difference could be highlighted in another color. A soucre code example would be great. …

Member Avatar for kvprajapati
0
68
Member Avatar for khan17

hi, im trying to automate a click on a link using javascript for which i have to navigate to a website first and then trigger a click on a link present there. for example i ve mentioned the [url]http://www.bing.com[/url] here and after navigating to bing home page it should automatically …

0
53
Member Avatar for baseballfury

Hi all, Working on the w3schools example for the autocomplete but the 'suggestions' that display are links to other pages. All i want is for the user to be able to select one and that value to generate in the box for submitting a database query. So just need to …

0
51
Member Avatar for vantrax

i have tried to implement a counter for my site which was a free hosted one from 000a.biz using ajax.It has worked in my LOCALHOST But it doesnt worked in my server. The html file is(main.htm): [code=html] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Tcats Inc.</title> <meta http-equiv="Content-Type" …

Member Avatar for Airshow
0
141
Member Avatar for baseballfury

Hiya Guys, Been working on the w3schools livesearch example but you can only select the option via a link. I'm trying to do it so i can submit a value to return database results. The external php code is below if anyone wants a look: I got it returning the …

Member Avatar for baseballfury
0
546
Member Avatar for rochellebeth

I can usually figure out problems like this with some testing or google searches, but nothing is working for me this time. I've installed a comments page on a website for a friend of mine, I got the code for the page from phpjabbers.com (and they aren't very much help!) …

Member Avatar for rochellebeth
0
147
Member Avatar for jrw89

Hi all. I have the following form: [CODE=html]<form id="registrationForm"> <input id="forename" type="text"></input> <input id="surname" type="text"></input> <input id="emailAddress" type="text"></input> <input id="password" type="password"></input> <input id="confirmPassword" type="password"></input> <input id="agreeToTerms" type="checkbox"></input> <input id="clickToRegister" type="button" onClick="javascript:SpeakAtServer(FormToJson('registrationForm'))" value="Register"></input> </form>[/CODE] ...with the following JavaScript... [CODE=javascript]FormToJson = function(sourceElement) { var JsonToServer = new Object(); if (document.getElementById(sourceElement).childNodes) { var …

Member Avatar for Eumenio
0
164
Member Avatar for jhonnyboy

Hello everyone I was taking a look at [url]http://www.mauijim.com[/url] and saw their navigation menu fairly attractive. I believe this can be made in css, but I wanted to know how did they get such a huge "frame" when hovering over the navigation (Shop, Service, About us). Seems like their is …

Member Avatar for jhonnyboy
0
127
Member Avatar for amby

hey i am new in javascript, i was having problem in including jquery in this file in Visual Studio but i resolved it by using ResolveUrl but after that its giving error "; expected" in the line1 i-e [CODE]<[COLOR="Red"]%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2"%>[/COLOR] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Member Avatar for amby
0
211

The End.