15,699 Topics

Member Avatar for
Member Avatar for extemer

hi friends i want to apply javascript on the the go-btn so if i do give wrong password the alert box should pop up itryed but i didnt figure it out....please help me out.. below is the code <!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> <meta …

Member Avatar for urtrivedi
0
151
Member Avatar for newbi11

i came across a jquery slide out menubar here [url]http://tympanus.net/Tutorials/UIElements/SlideOutMenu/[/url] . its a mouse over menu bar made with jquery . however i would like to know if the slide out can be brought out through a click rather than a mouse over . here is the source : [CODE]<!DOCTYPE …

Member Avatar for kekkaishi
0
220
Member Avatar for thekiddy

I am selecting an image as part of a html form. Once selected, jQuery assigns a user-defined attribute of the image to a hidden form variable and passes it to form handler. Neat. Problem is when I dynamically add images that can be selected. I am using live function to …

Member Avatar for Airshow
0
678
Member Avatar for klemme

Hi All, I have some trouble getting some javascript code implemented Its basically because I havent used much it before. Its like this: When admin chooses to delete a page from his site via this link: [CODE] <?php echo '<a href="process_delete_page.php?pid=' . $id . '">Delete page!</a>'; ?> [/CODE] Before this …

Member Avatar for klemme
0
139
Member Avatar for anilashanbhag

The script is used in my newest chrome app [url]https://chrome.google.com/webstore/developer/detail/bomkcodcgmbjjhogdjophonfhgpegoni/[/url] Site: [url]http://codestrix.co.cc/pixels/[/url] The above script is a good to get stated with HTML5 canvas. Much of it is named so as to be self explanatory but any doubts you are more than welcome to post it here.

Member Avatar for anilashanbhag
1
661
Member Avatar for MKWeb

I have a form that contains multiple dropdowns that are dynamically populated using AJAX not CSS, dependent upon the form above it. The page works fine in FF and Safari, but when I try it in IE, the first dropdown is populated, but the others remain greyed out. Here is …

0
79
Member Avatar for Cold Shot

Hello community, I was really hoping to get some guidance on a little issue I'm having. I am in the process of building a site for my aunt, I'm mostly self taught and plugging away at building out my first multi page site. Alas I have encountered a problem: I …

Member Avatar for Cold Shot
0
104
Member Avatar for Julia25

I found this cool script but i dont know how to modify it. i want the notification to fade in after 1 second automatically without clicking on the link [CODE] $(function(){ $('#add-sticky').click(function(){ var unique_id = $.gritter.add({ title: 'This is a sticky notice!', text: 'Lorem ipsum dolor sit amet, consectetur adipiscing …

0
51
Member Avatar for ivan3510

Hi! I made a page where users can listen to music (with javascrip). I add a popup where they can choose what music to play, and when they choose it, this popup window close itself, and two hidden fields get the song information. In the script (you can see it …

Member Avatar for ivan3510
0
108
Member Avatar for olajfm

Hello, My project is: 2 Panels with images, where one moves inside the other. I get the position of the second panel and make an image in the hard drive with them overlapping. If I use a simple Web Form there is no problem, all works just fine. MY PROBLEM …

0
46
Member Avatar for manish250

hello all i have a jsp page in which i am opening a pop up window using following code.Now i want not to include toolbar,scrollbar in my pop up window. [COLOR="Red"]window.open("multipleSchedule.jsp?date="+f_date+"&date1="+f_date1);[/COLOR] please tell me the way.I know i have to use toolbar=no but where to use in this code.i have …

Member Avatar for twiss
0
136
Member Avatar for tom_benton

I have searched everywhere and seems unable to find postcode map data (preferably in lat/long) of Canada. I would need these data up to the LDU in the postcode. My idea is to create a map with the postcode overlay similar to this: [URL="http://www.imapbuilder.com/customization/google_map_zipcode_search_for_congressional_district.php"]http://www.imapbuilder.com/customization/google_map_zipcode_search_for_congressional_district.php[/URL] Are there any third party data …

Member Avatar for Airshow
0
78
Member Avatar for gogreen1

i have seen resume's of many developers they had put expert in JS and Jquery .is that they will right the script form the scratch or they will download and customize to their requirements ??even i known this ..so shall i put JS and Jquery in my profile.?

Member Avatar for javaAddict
0
65
Member Avatar for xiiopao

hi there guys :) im currently working on a project with jquery... the thing is.. i need to change the contents of a div named "sub2" with the contents of "pets.html"... i've read some tutorials and i thought the best way to do this is through the use of jquery... …

Member Avatar for Airshow
0
133
Member Avatar for programmer12

Hi, Can someone help me with writing the script to be able to pull the information from the database without refreshing everytime something new has been added? My codes at the moment read: [CODE]$recentupdates = mysql_query("SELECT * FROM status NATURAL JOIN users WHERE user_id = users.id ORDER BY status_id DESC …

Member Avatar for programmer12
0
129
Member Avatar for BenJaYin

hi guys I have the following code that works fine in all browsers but all IE versions. When I select an option from the first drop down the second one is to be dynamically populated by details based on the first selection. Unfortunately in IE the second dropdown shrinks and …

Member Avatar for Airshow
0
162
Member Avatar for Nathan Campos

Hello, My friend gave me a code to try a bit. What it does is that it gets a text and format it. Here it is: [code]function boldAndItalicize(text) { return text.replace(/&/g, '&').replace(/</g, '<') .replace(/(\*+)([^*]{1,1024})(\*+)/g, function (whole, open, content, close) { if (open.length === close.length) { switch (open.length) { case 1: …

Member Avatar for twiss
0
119
Member Avatar for Nimerion

Hi! I have a problem with a small effect. The idea is to dynamicly change the pages in a single box, and the header and the footer of the main page to hide or show the box with the information. That's the idea.. [CODE] <?php session_start(); require "config.php"; ?> <!DOCTYPE …

0
80
Member Avatar for paulyb

Hi all First post here I'm trying to get a webpage to show an online or offline gif when the cam is live or not, also i would like the on air.gif to be clickable to go to the webcam. here is the script i'm using for the cam [CODE]<html> …

0
79
Member Avatar for Julia25

Hello! i created a simple popup window using this script [CODE]function MyPopUp(c) { window.open(c, 'window', 'width=480,height=480,scrollbars=yes,status=yes'); }[/CODE] which works but is it possible to modify the size according to the browser with? like if (screen.width == 1024 size "" if (screen.width == 1280 size "" Thanks!

Member Avatar for twiss
0
98
Member Avatar for newbie14

Dear All, I would like to create different pages with dynamic tab titles. I would also like to have multiple level of tab. Currenlty I tried the kooltabs but I have problem for instance my last tab is having the final submit button and when my first tab is having …

Member Avatar for twiss
0
164
Member Avatar for oldtimeyjunk

Here's what I want to accomplish: A Javascript code that opens a flash file. Here's what I have (in my brain)... this is an embed function slightly dismembered... document.write [stuff before script] document.write [whats in textbox - where the filename is supposed to go] document.write [stuff after script] There is …

Member Avatar for Ritesh_4
0
134
Member Avatar for Gel

i wanna enter a value passed by javascript function to the database. is there a way to do that? thanks. var eng = 0; var nothome = 0; var nointerest = 0; var callback = 0; var booked = 0; function myFunction(i,txt, elemid){ var plural; if (i != 1) plural …

Member Avatar for diafol
0
219
Member Avatar for Julia25

Hi There! Can anyone teach me on how to use this script? (im not a programmer :)) i wish to use this but the images are in each div [url]http://www.chazzuka.com/blog/?p=87[/url] demo [url]http://www.chazzuka.com/experiments/jquery-image-loader/jquery-image-loader-3.html[/url]

Member Avatar for twiss
0
84
Member Avatar for samueal

Hi, I am using HTTPRequest and HTTPResponse to get the page source of a site. and i'm getting a warning message "Enable JavaScript to view your site". Is there any request i should add to enable JavaScript

Member Avatar for samueal
0
206
Member Avatar for kokfui

hi all i want to know is there any code which will print a data into the bottom of a exist table? let say now i have a table like below NAME TIME BID alan 9.40am RM100 after i execute the code....the new table will add the new thing at …

Member Avatar for kokfui
0
158
Member Avatar for Joe34

I continue to get, function not defined when calling the function build_blog() through the function start()? [CODE]<html> <head> <style> </style> <script type="text/javascript"> var SEO; var conversion; var SMO; function Start() { document.write("Blog Name: <input type='text' id='name'><br> Blog System: <input type='radio' name='system' id='system' value='blogger'> Blogger<input name='system' type='radio' id='system' value='Wordpress'>Wordpress<br><input type='button' value='Build …

Member Avatar for Airshow
0
83
Member Avatar for turpentyne

I have a form with two fields: shape and color. where people select a shape an image of the shape appears, and a default color image appears. When they select a color, it changes the color image. But if they go back and change the shape, I don't want it …

Member Avatar for Airshow
0
231
Member Avatar for ivan3510

Look this page: [URL="http://www.htmlcodetutorial.com/linking/linking_famsupp_75.html"]click[/URL]. How to do that with button?

Member Avatar for twiss
0
79
Member Avatar for HelenLF

Is there a way to populate a dropdown depending on the day of the week of a date entered in a text box. For example if the date entered is a Monday, I would want values a,b and c in the drop down list and if the date entered is …

Member Avatar for twiss
0
61
Member Avatar for devinodaniel

How would I make an normal form input field go from editable (where someone can write text into it) to solid text (not editable) simply by clicking anywhere on the page away from the field And then.. ..the reverse. Clicking on the non-editable text would suddenly create a form field …

Member Avatar for devinodaniel
0
179
Member Avatar for chaituu

our requirement is client wants to know howmany users leaving the main page without entering data in the application page.at that time we need to show the css popup overlay. in the following scenarios overlay should pop up. 1)when user leaves the page.(e.g. type other address in the address bar).bascially …

Member Avatar for Troy III
0
80
Member Avatar for aaraf

[B]hi I knew very little about javascript and I didn't used it before a lot but now I Have a problem that: I want the pages in my website to go only forward and disable going backward [COLOR="Red"]I mean the user can not go back to the previews page in …

Member Avatar for Troy III
0
101
Member Avatar for Sorcher

Hello guys! i got a small problem here.. [CODE]<script type="text/javascript" src="jwplayer.js"></script> <script type="text/javascript"> jwplayer("mediaplayer").setup({ flashplayer: "player.swf", file: "data/vid/CHANGETHISNAME.flv", image: "preview.jpg" }); </script> [/CODE] I need to change the file name in this code by a PHP variable gotten from [CODE]$row['movietitle'];[/CODE]. I have no clue, please give me something.. Cheers, Sorcher

Member Avatar for Sorcher
0
160
Member Avatar for abhi10kumar

What is the reglalr eperssion of [CODE]http://www.adexmart.com/product.php?id_product=[B][U]14[/U][/B]&utm_source=shopmania&utm_medium=cpc&utm_campaign=direct_link[/CODE] in JavaScript. Underlined and bold marked text will vary ??

Member Avatar for Sanket_s
0
228
Member Avatar for Usmaan

[url]http://alibimurders.co.uk/index.html[/url] That is my website. If you look at the top, you can see links which don't do much at the moment but will contain urls for different pages. The problem I have is how can I make them in to tab like images. For example, if you open up …

Member Avatar for Sanket_s
0
130
Member Avatar for Sanket_s

i recently create script for google style dropdown search give name as "SearchPuppy".. [IMG]http://i56.tinypic.com/35k1t7k.gif[/IMG] script working fine. hope you guys like to develop more functionality in it. you can download it [URL="https://sourceforge.net/projects/searchpuppy/files/"]here[/URL] also give your valuable feedback after using it ..

0
58
Member Avatar for Sanket_s

i want to take text from <li> selected from user as cookie value.. but help me to set [B]Var[/B] [I]selected [/I] as cookie value please suggest correction in this code [CODE] <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jcookie.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("li").click(function() { var selected = $(this).html(); }); $.cookie("selection",selected); alert($.cookie("example")); }); …

Member Avatar for Sanket_s
0
98
Member Avatar for XerX

Hello. I have trouble with detecting a letter in a text box where there should be only digits and vice-versa. This is my program: [CODE]<html> <head> <script type="text/javascript"> test1=/[0-9]/i; test2=/[A-z]/i; function check() { var i=false; if (!test2.test(document.getElementById("name").value)) { alert("wrong name"); i=true; } if (document.getElementById("card").value.length > 16) { alert("too long card …

0
83
Member Avatar for chabo
0
66
Member Avatar for Siege

Hi, I am currently developing a website for myself and one of the things I want on my page is a nice hover menu. I will try and explane this as simple as I can. I want to have 3 pictures lined up next to each other, and when I …

0
75
Member Avatar for zeplin

Hello, I have grabbed this html code off the internet. It looks like it will work for what i am looking for except it does not add a grand total. The inputs multiply numbers without having to click a button. I wanted the grantotal to add up the inputs without …

Member Avatar for parry_kulk
0
123
Member Avatar for Irishgeezah

Could anyone help me with a script I've written. As part of an assignment I have to write checksums to validate various numbers (VISA,Euro Bank Notes) and if I got this going I could modify to validate the other requirements but can't see what I've done wrong.....I should add that …

Member Avatar for twiss
0
75
Member Avatar for rahulephp

Hello, I found Google Transliteration, a very good tool to reproduce the sounds of a sentence in a different language. Reference: [url]http://code.google.com/apis/language/transliterate/v1/multilangtransliteration.html[/url] [url]http://www.google.com/transliterate/[/url] It supports approx. 22 languages. Can anybody please let us know how does make it to support German and Swedish too. I cant see these languages there. …

Member Avatar for twiss
0
99
Member Avatar for Rahul Das

I am developing an application where I am uploading a file and then it is uploaded to a temporary folder and I see the preview of that image through an ajax call without refreshing the current page.Then after clicking "Save" it saves the file to original directory. The file I …

0
128
Member Avatar for MrCapuchino

Hello, I have two Javascript functions to set and retrieve a cookie: [code] function setCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function getCookie(name) { var nameEQ = name + "="; …

Member Avatar for MrCapuchino
0
11K
Member Avatar for reygcalantaol

Good day everyone, I new this is not to hard but I forgot on how to do it. I have this form: [CODE]<form><table><tr> <td>Add Picture:</td> <td colspan="3"><input name="txtPics" type="file" /></td> <td> <input type="button" name="addFileField" onClick="Add_New_field('fieldName')" /> </td> </tr> <tr> </table></form>[/CODE] My problem is that I want to dynamically add new …

Member Avatar for twiss
0
74
Member Avatar for benjaminFowl87

I have a problem with the val function it is unable to get the value of a field once I have type text into it, this only occurs when the form is in a jQuery popup box that has a form. According to my inspector, it says that the element …

Member Avatar for benjaminFowl87
0
3K
Member Avatar for nikita.chandra

hi all ! I am trying to submit a form using javascript but form is not being submitted. Following are the code : [CODE] <html> <head> <script language="javascript"> /***********************Email Validation **************************************/ function echeck(str) { var at="@" var dot="." var lat=str.indexOf(at) var lstr=str.length var ldot=str.indexOf(dot) if (str.indexOf(at)==-1){ alert("Invalid E-mail ID") return …

Member Avatar for nikita.chandra
0
730
Member Avatar for TheVendor

Hey guys, I have a simple problem in javascript that I can't figure out. I am adding a feedburner url into an html page, but need to make it so you can increase the amount of posts you want to see. Ex. The default amount of posts on the page …

Member Avatar for TheVendor
0
1K

The End.