14,053 Topics

Member Avatar for
Member Avatar for Nathan666

Hi I have 3 dropdowns on the following page, http://gilt.martinduys.com/index.php/places I managed to get the region dropdown to get filtered based on the country selected in the first, the problem is when a user selects a region, all the regions disappears. So to see what the problem is first select …

Member Avatar for pritaeas
0
90
Member Avatar for tinker

I am creating a dynamic web page where uploading images is one of its feature. I have a looping DIV where each DIV has its own images: show sample below... [CODE] <?php while($row=mysql_fetch_assoc($result)){ $id=$row['id']; $path=$row['path']; ... ?> <div class="img-container"> <img src="<?php echo $path; ?>" /> <button onclick="changeMe('<?php echo $id; ?>')">Change …

Member Avatar for mahavir123
0
260
Member Avatar for gyannitin

Hi, I have a section, suppose A and it has 3 sub sections B,C and D. I want only A to be displayed in the left panel and on clicking it, B , C and D should appear.B,C and D will have hyperlinks. Any pointers will be very usefull. Thanks

Member Avatar for gyannitin
0
137
Member Avatar for cj333

[CODE] page = $("<div id="content"><p>aaa</p><p>bbb</p><p>ccc</p></div>").find('p').eq(0); [/CODE] This can echo `<p>aaa</p>` but How to select multi `eq()` in jqeury? if I need `<p>aaa</p><p>bbb</p>`

Member Avatar for bvelez352
0
97
Member Avatar for gyannitin

Hi all, I am trying to create quiz dynamically. I want user to add more and more ques in a quiz and then finally submit the form. Here is a code that I am trying [CODE]<div align="center"> <table id=repeat> <tr> <td width="155"><font color="#FF9933">Question</font></td> <td width="377" align="left"> <p align="center"><textarea rows="4" name="S1" …

Member Avatar for peter_budo
0
116
Member Avatar for CanadianGSX

New to javascript but I have a good analytical mind....that being said, I have the following code in onSubmit() validation: [code] else if (cofaCOURRIEL == null || cofaCOURRIEL == "") { alert('Le champ COURRIEL doit ĂȘtre rempli.'); document.forms["COFA_AIG"] ["COURRIEL"].focus(); return false; } else if (cofaCOURRIEL) { if ( (atPOS < …

Member Avatar for Shanti C
0
69
Member Avatar for maria_megha

Can someone tel me the code to put a dropdown box showing default values as shown below using script ..i,e by enclosing them in document.write in script <CODE> <SELECT NAME="choice" > <OPTION VALUE="1">one </OPTION > <OPTION VALUE="2">two </OPTION > <OPTION SELECTED VALUE=" 5 "> 5 </OPTION> </SELECT> </CODE>

Member Avatar for Shanti C
0
101
Member Avatar for danny5514

hi all i have search the web and cant find what im looking for which is simple code so that i can have a box about 200px by 400px that scrolles i had used the marguee tag but i need it to display on all my pages. so i thought …

Member Avatar for skald89
0
77
Member Avatar for singaiah39

Hi, Could any one tell on how to load page while scrolling? For e.g. If i want to load 200 records, i will first load 100 records and when the scroll reaches bottom, i will have ajax to get the remaining records. Here, when i get the next set of …

Member Avatar for Airshow
0
135
Member Avatar for LeKook

Hi all, I have been using a script called Divviewer (DV.js) to display larger versions of thumbnails on one of my sites. Works like a champ in everything but IE... has anyone here used this script and had the same problem? Here's the link to one of the pages that …

0
48
Member Avatar for NewOrder

This is javascript: [CODE] function OpenNewWindow(book) { if (book==1) { document.cover.src='images/KanyLogo.jpg' MyWindow = window.open('', 'myAdWin', 'titlebar=0 status=0, toolbar=0, location=0, menubar=0, directories=0, resizable=0, height=50, width=150,left=500, top=400') MyWindow.document.write('10% Discount for Java Demysti? ed!') } if (book==2) { document.cover.src='images/KanyLogo.jpg' ; MyWindow = window.open('', 'myAdWin', 'titlebar=0 status=0, toolbar=0, location=0, menubar=0, directories=0, resizable=0, height=50, width=150,left=500, …

0
63
Member Avatar for Acute

Hi everyone, I have a jquery script that prepends a <div> tag on button click. Additionaly in this script there are some jquery effects(like slideDown) applicable to <div> tags that were before(and for them effects work fine) and also to <div> which was prepended. However, after new <div> is prepended …

Member Avatar for bvelez352
0
62
Member Avatar for HelenLF

I have a JQuery script that gives a neat effect on the navigation and want to include a simple fading slideshow on the same page. Any script I have tried for the slideshow either uses JQuery or Mootools and it conflicts with the navigation script. Can anyone recommend a smooth …

Member Avatar for pritaeas
0
80
Member Avatar for azegurb

Hi all, I have small bbcode script that works perfectly in IE. but in mozilla it doesn't work here is script [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" > <html> <head> <head> <!-- ... --> <script language="JavaScript" type="text/javascript"> var v=2; <!-- function createTag(tagId,areaId) { // var x=tagId; var txtArea = …

Member Avatar for Troy III
0
86
Member Avatar for niimenz

Am a newbie with jquery implementations I currently want to implement an overlay and a dialog the same way its used for this sites login can anybody help me implement this stuff

Member Avatar for codewall
0
91
Member Avatar for cj333

I modify a php comment system. I want add it after every article witch are query from database. this is the php part [CODE]<?php ... while($result = mysql_fetch_array($resultset)) { $article_title = $result['article_title']; ... ?> <form id="postform" class="postform"> <input type="hidden" name="title" id="title" value="<?=$article_title;?>" /> <input type="text" name="content" id="content" /> <input type="button" …

Member Avatar for cj333
0
203
Member Avatar for fahad4014

Can any on plz guide me how to make a voting pole in HTML.. IF someone give me i would be very very thankful.. Regards, MAlik

Member Avatar for Shanti C
0
84
Member Avatar for samsons17

Hi I am creating a facebook like wall system.And at this point,my problem is I cant get the wall writing back the "Whats on your mind?" in the textarea after a message has been post. [ATTACH]19029[/ATTACH] And this is the javascript for the wall : [CODE] var searchLabel = $('#tab1 …

0
69
Member Avatar for brainbox

Hi, I am new to web development, i need to develop a comment box, and save those comments in a file( either database or normal text pad), so that i can retrieve them later and display them on my web. My server does not support php or anyother special scriptin, …

Member Avatar for ana10192000
0
264
Member Avatar for Reliable

Hey everyone, Got a problem. I don't know JS and I've googled my problem. Either I'm not find what I need or I am not understanding what I've found. As the title says I have a form which check boxes. The last check box is labeled "other". What I want …

Member Avatar for @developer
0
64
Member Avatar for tinker

my problem is that, i have a button that contains values and carry it to javascript here is the code below for the button that carries value 1; [CODE] <button onclick="passValue('1')">Pass Me</button> [/CODE] here is the javascriptfunction that will be called by the button above; and this script would set …

Member Avatar for tinker
0
188
Member Avatar for Mapper99

I have a simple jQuery click handler that animates the change of a divs background image. I would like to create some reusable code so I would not have to copy my code for every div I would like this effect on. How would I go about this? [CODE] <style …

Member Avatar for Airshow
0
153
Member Avatar for 612wharfavenue

Im trying various ways to trigger a transition, the simplest being the use of css pseudoclasses: [CODE] //leaving out default header stuff// <head> <style> .item{ opacity:1; -moz-transition: opacity 1s ease; } .item:hover { opacity:0; } </style> </head> <body> <img src="myimage.jpg" class="item" /> </body> [/CODE] If i use js to make …

Member Avatar for bvelez352
0
82
Member Avatar for soomro_moon

it shows this result 1296673200000. i need that in this format m/d/y.how can i do that? [CODE]function calDate() { var date1 = new Date(document.getElementById('date_field1').value); document.getElementById("date_field2").value = date1.setDate(date1.getDate()+5); [/CODE]

Member Avatar for Airshow
0
90
Member Avatar for JZM

Hey, Were I am stuck is with the jquery I have a form that is done in a form class and when an option is selected from the dynamically populated drop down menu I would like it to fill in the text boxes so they can be edited. I currently …

0
81
Member Avatar for andrewliu

Hello I hope you can assist me with this :) [CODE]$(document).ready(function(){ $(".downservices").mouseenter(function() { $(this).parent().find(".servicesdropped").slideDown("fast").show(); $(this).parent().hover(function() { }, function(){ $(this).parent().find(".servicesdropped").slideUp("fast"); }); }); });[/CODE] This code allows me to make a drop down menu when the cursor hovers over a link. I have a horizontal menu, so when I hover over a …

Member Avatar for bvelez352
0
162
Member Avatar for dikri100

I can code it with this account just click on a link I need one that relies on various link on the same page. codigo need cookie. <script type="text/javascript" src="file:///D|/Downloads/cookie.js"> </ script> <script type="text/javascript"> var = CookieUtil { get: function (name) { var cookieName = encodeURIComponent (name) + "=" cookieStart …

0
65
Member Avatar for ben.marks

Hi there, Got some form validation but doesn't seem to even be running through it. First off the form is displayed, if you click in 'Name:' the 'ID:' box disappears so that you cant type in both, after it disappears (and vice versa), the validation should check its correct, but …

Member Avatar for ben.marks
0
208
Member Avatar for manish250

hello all i have a jsp page in which i am using a function for detecting the ascii value of key pressed.it has to give alert if other than any alphabet key is pressed.Below giving the explaining code [CODE] function checkname(e) { var cc=e.keyCode; if(cc >=65 && cc <=90 || …

0
161
Member Avatar for ello

Guys, just a quick question, is there any way to get this AJAX to be called on a button click? I know how to use buttons to call JS functions but I'm not sure where to add the open and closing parentheses with this AJAX...I've tried encasing different parts, but …

Member Avatar for McLaren
0
171

The End.