jquery x 2,329

20,316 Topics

Member Avatar for
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
191
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
128
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
86
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
84
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
107
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
191
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
140
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 Member #120589
0
248
Member Avatar for karthik_ppts

Hi Frendz, I have placed my custom marker on google map in my application. But it displays default marker. Whats going wrong with this code? [CODE=javascript] var icon = new GIcon(); icon.iconAnchor = new GPoint(6, 20); icon.infoWindowAnchor = new GPoint(5, 1); icon.image = 'images/car_blue.png'; var marker = new GMarker(point, icon); …

Member Avatar for karthik_ppts
0
317
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
91
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
222
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
174
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
97
Member Avatar for lxXTaCoXxl

I'm trying to get some information on the live XBOX stat's feed. Like recent games, gamer score, rating, and gamer picture. I want it to update continuously (like if you were on Microsoft's website viewing someone's XBOX Live profile, or on the XBOX itself looking at their live stats) and …

Member Avatar for jh00
0
181
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
239
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
86
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
64
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
183
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
87
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
114
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
176
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
244
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
139
Member Avatar for MrCapuchino

I have two buttons in an asp.net web page, this buttons are the asp.net control buttons and are not a part of a form, basically I just modify the on click event in the code behind page, the thing is that when I hit enter one buttons is pressed but …

Member Avatar for aspproject
0
94
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
62
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
112
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
85
Member Avatar for MrCapuchino

Hello, I have a xsl file Here I have the HTML code to display a webpage, inside i have a table that fills the rows with data from an XML file. I created a link that has the href attribute filled with data from an element in the XML file. …

Member Avatar for MrCapuchino
0
143
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
78
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
135
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
85
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
101
Member Avatar for TheBadger

Hey basically I have a Jpopmenu in my View class My view also implements MouseListener When I click on an object, my view sends a request to controller. Controller will then decide which behavior to give the JPopupmenu (what MenuItems it has) and return it to View, which then sets …

Member Avatar for JamesCherrill
0
98
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
77
Member Avatar for phpuser

Hi all, Can anyone help me to solve my problem? I m doing one PHP project in which i maximum used Javascript and Ajax.Now client require that when he close browser session have to automatically cleared means when he open next time that browser he must have to login first. …

Member Avatar for Somnathpawar
0
5K
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
757
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
Member Avatar for ray-ann

how can i put choices in a guessing game. choices such as a,b, c, and d. And if the answer of the player is correct, the game will proceed to level 2, else game over.

Member Avatar for twiss
0
76
Member Avatar for dietdew12z

Hi, I'm normally over on the PHP board but this one is definitely a javascript issue. The thread title doesn't quite cover my issue, so I'll try to explain a little further. I built a website for a client who tells me that when he hovers over a word on …

Member Avatar for twiss
0
221
Member Avatar for sha1023012

Ok i have been working on this for a few days. I am having a hard time on this one. I am still new to the javascript/DHTML. I am suppose to use the fish images to create a fish tank on a Web page.The fish should swim across the screen …

Member Avatar for twiss
0
136
Member Avatar for tohobaby

how can i change the color and the font type to bold when the checkbox is oncheck? [CODE]<script type="text/javascript" language="javascript"> function colorBlack(e2) { var radgroup = document.getElementsByName(e2.name); for (var r=0; radgroup[r]; ++r) radgroup[r].parentNode.style.color = radgroup[r].checked ? 'black' : 'red'; } </script>[/CODE] this is the code to change the color but …

Member Avatar for twiss
0
210
Member Avatar for hindu times

Hi there, I have been told I need to use escape() and unescape() to fix some issues I am having with my Javascript in IE7. I've been fiddling with it for two days now and can't seem to get it working correctly. It would be amazing if someone on here …

Member Avatar for twiss
0
144
Member Avatar for Member #210807

In the javaScript function below, is there anything I can add to the window.open so that the parameters passed in the URL do NOT show in the window that is opened? It is okay if the script path shows, I just need to hide the parameters. If that is not …

Member Avatar for Airshow
0
6K
Member Avatar for aPPmaSTer

Hi, I'm working on an application that is supposed to allow a user to upload a picture, which would be immediately displayed... how do I go about doing this?

Member Avatar for ko ko
0
81
Member Avatar for serdas

hi, i am not a coder and trying to make this work [CODE]var body = 'Reading Connect JS documentation'; FB.api('/me/feed', 'post', { message: body }, function(response) { if (!response || response.error) { alert('Error occured'); } else { alert('Post ID: ' + response.id); } });[/CODE] to make it work above code …

Member Avatar for tomato.pgn
0
431
Member Avatar for samalpramod

HI, I am trying to xmlhttp object using ajax. In my first request I am getting the desired result. On the readystatechange I called a function whic process the response of the first request. According to the response of my first request, I fired the second httprequest. But the second …

Member Avatar for hielo
0
154
Member Avatar for ashuknp

Hi , i have loadcalender function in server side . so how can i call by javascript in image on clientclick() . please give reply Regards ashish

Member Avatar for kvprajapati
0
42
Member Avatar for filch

I have a page at the following URL: [url]http://www.streetkids.org/ways_to_donate/make_donation2.php[/url] which is a basic donation page. The two page sections you see on the page "One Time Gift" or "Monthly Subscription" are normally hidden via a document.write via a body onload. Generally, all of this functions well. But, I want to …

Member Avatar for Airshow
0
1K

The End.