jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for jino

Hi all, I need to select all the divs having the classname starting as msg_body. actually the classname is msg_body_3. The last part of the class name of each div will vary as it is an id. How can i slideup all these divs, class name starting with msg_body using …

Member Avatar for ShawnCplus
0
174
Member Avatar for the_programmer

Hey, I know that Javascript can disable keys on the keyboard and even the right mouse click. What I want to know is, is it internationally legal for a Website to render commands on the keyboard and or mouse useless while using a Website. I'd really appreciate any feedback and …

Member Avatar for JugglerDrummer
0
101
Member Avatar for vishalonne

Hi Everybody Can anybody help me creating Button at runtime. My problem is I am having one form which contain 6 button to save 6 records details. Finally when six records save user goes to for next 6 records... So I need a new but same form which will again …

Member Avatar for vishalonne
0
113
Member Avatar for ytregnn

I don't know if this is the right forum for this question .. I have a script that is written in PHP and in the middle of this: [CODE]<a href=\"#main\" onclick=\"form_visible();\">Click</a>[/CODE] This is supposed to make a form show by a click on the link [I]"Click"[/I]. What I want to …

Member Avatar for parry_kulk
0
60
Member Avatar for kelvin33

[CODE]/*helo every one, I am just a newbie in javascript, but can any one help me with the second function?*/ <html> <head><title>survey2</title> <script type="text/javascript"> var Item = new Array(); Item[100] = 15; Item[101] = 10; Item[102] = 5; Item[103] = 0; function show_it() { var total = 0; var Details …

Member Avatar for Airshow
0
308
Member Avatar for denni2727

I'm developing an application which uses a Timer so that the JButtons that the application has, blink each half a second, And the problem is that it works properly until I make some JButtons fire events. When this happens the timer speeds up, but its delay is the same. I …

0
96
Member Avatar for pavithraCS

Hi, Im developing a firefox exrtention which can get weather alerts from various rss feeds and display them in a popup panel. So, I need to know [B]how rss reader know that rss feed has updated[/B]? Do I have to check it using a timer? thanx in advance!

Member Avatar for Airshow
0
98
Member Avatar for Ashwin Vasnai

Plz help. I am working to create application kind of auto-suggestion. I am using JTextPane along with Jlist on PopupMenu. I am not able to get the Action Event on JList. and other problem is that my KeyPress Event of JTextPane are getting overlapped with JList hence nothing is selected …

Member Avatar for Ashwin Vasnai
0
174
Member Avatar for jino

Hi everybody, In my project i am using ajax and jquery. After going to a page via ajax without page reload i want to see the same page if the user refresh the browser. I used the cookie plugin inorder to solve. As it is not safe i am trying …

Member Avatar for hielo
0
762
Member Avatar for ytregnn

Hi, I was looking for a poll script (php/ajax) that does not reload when adding a vote. I've tried to search around for it but haven't found one that suits my needs. Anyone that knows where I can find such a script? Thanks, Robin

Member Avatar for SKANK!!!!!
0
174
Member Avatar for tunde011

please open [url]http://www.sharewink.com/[/url] in mozilla and IE search for share Please what am i doing wrong?

Member Avatar for tunde011
0
92
Member Avatar for handyman_uk

i am currently using the meta tag for page transition i would like to use a cross browser script does anyone know of a script to circle out on page exit that is cross brower compatable a little sheepish shorn

Member Avatar for handyman_uk
0
90
Member Avatar for venus_me11

Can you please help me how to loop a textbox for example, I have 10 checkboxes and I check only 2 of them. If I click the submit button, the number of times I check a checkbox should be the number of textboxes to display.. so I check 2 checkboxes …

Member Avatar for venus_me11
0
115
Member Avatar for ryy705

Hello, I have a time field saved in database in GMT format. I need to convert it to the visitor's local time. Is there a way to figure out the vistor's region/time? Should I be looking into javascript for this? I thank you in advance for your help.

Member Avatar for Aamit
0
395
Member Avatar for thebluestar

[CODE] <html> <head> <script type="text/javascript"> function check() { var val = document.myForm.content.value; if (val.length <= 10) { document.getElementById('numC').value = val.length; //out.value = val.length; } else document.write("Please enter the text in range of 10 characters!"); return false; } </script> </head> <body> <form name="myForm"> Type something here: <input type"textbox" value="" name="content" onchange …

Member Avatar for almostbob
0
133
Member Avatar for PetrQ

Hello all, please help! I need use two jquery scripts - dynamic select box and clone row. Each of them work fine but I cannot find the way to use it together in one script. Thank you for any suggestion! Petr live demo: [URL="http://www.guitarcases.cz/index.php?clanek=zakaznik_objednavkawww"]http://www.guitarcases.cz/index.php?clanek=zakaznik_objednavkawww[/URL] [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

0
113
Member Avatar for Mitja Bonca

How can I show a message in the statusBar for 5 seconds? I do some code, on the end I write out a message in statusBar (statusBar.Text = "Notification Message"; ). But I want that is shown for only 5 seconds. Then it dissapears (with statusBar.Text = ""; ) How …

Member Avatar for sknake
0
175
Member Avatar for Member #601299

My Application is not db based i am developing just for learning. i have 2 form first have just user name and password textfield and submit button and second form have one label. i have make condition with if-else when username is "[B]waqas[/B]" and password is "a" then show form2 …

Member Avatar for Member #601299
0
123
Member Avatar for thebluestar

[code] <html> <head> <title>Nhung rac roi ko hieu</title> <script type="text/javascript"> function getvalue(list) { while(list.options.length) list.options[list.selectedIndex].value=null; var value = list.options[list.selectedIndex].value; document.write(value); document.bgColor = value; } </script> </head> <body bgColor="lavender"> Here is the list for you to Change the bgColor! <br/> <select name="list1" onchange="getvalue(this)"> <option value="green">Green</option> <option value="orange">Orange</option> <option value="yellow">Yellow</option> <option value="pink">Pink</option> …

Member Avatar for thebluestar
0
4K
Member Avatar for algo_man

Hi all, I need to do somthing similar to the attached picture. I'm waiting your responses !! ALGO

0
61
Member Avatar for jpadams

I am new to AJAX and I am trying to create a script that will change content of a div. My scenario I am using is an index page with the list.php script included in the div I want content changed in. The list.php script will pull 8 newest titles …

Member Avatar for SKANK!!!!!
0
143
Member Avatar for crazyhorse09

Hey, I think this is the right place, but not sure. I wanna make a firefox extension, and wanted to know if JavaScript is what I should be learning, or something else?

Member Avatar for JugglerDrummer
0
113
Member Avatar for thebluestar

[CODE] <html> <head> <title>Web just for training</title> <script type="text/javascrip"> function chBG(kolor) { document.getElementById('ab').style.background = kolor; } </script> </head> <body id="ab"> <input type="button" name="b3" value="green" onclick="chBG(this.value)"><br/><br/> <input type="button" name="b4" value="blue" onclick="chBG(this.value)"> </body> </html> [/CODE] Here is my code to change the background color but I does not work!I don't know why, …

Member Avatar for Graphix
0
97
Member Avatar for ryan1987

hi i want to do validation on two textboxes on my website i am creating. i want to make sure something is entered in each box before the user can proceed. the two textboxes are called teammanager and teamname and are in the form called addteam. the code i have …

Member Avatar for Graphix
-1
88
Member Avatar for Philip435

Hey im building a site and i need to learn a bit more about security, ajax, php everything. I know basic stuff but I havent read anything about it so plz share some links or experience plz ! For example am I going to use a ajaxlogin, anything I really …

Member Avatar for jreddick82
0
86
Member Avatar for JRM

hello, I am S L O W L Y working through learning/writing a JS project. here is the core issue.: [CODE] var pt =<? echo json_encode($prt);?> alert(pt) // for diagnostic purposes [/CODE] json is flattening the PHP array to be used in the script. However, the alert shows me that …

Member Avatar for ShawnCplus
0
192
Member Avatar for JohnBlanco

Hello, I have a page where I want to mark the holidays, day by day. The basic idea is to have a calendar with a checkbox by day and each box I check is a day of supposed vacation. My main question is how do I make the calendar, designing …

0
73
Member Avatar for Round

hi all, i have a problem regarding the pixels. i have a picture box suppose of width 950 now i have to draw more than 1000 pixels in that picture box. one way is t0 use horizental scrollbar. but the problem is tha i dont know to use it. so …

Member Avatar for Geekitygeek
0
95
Member Avatar for freelancelote

Hi, I'm starting playing with javascript and bounce to some problems. The script tries to read the <p> background color that is set using stylesheet and set a global variable with this value for later use. It seems that the variable does not instantiate (and btw. there is more than …

0
66
Member Avatar for Daniel_Crouse

Hey there I was wandering if somebody chould help me becuase I would like to know how to change a forms action when you click on a button ? Or... How to load a new form in the same webpage when you click on a button? I have managed to …

Member Avatar for Daniel_Crouse
0
102
Member Avatar for itisnot_me

is it possible to have php code within jquery or do i have to use ajax to grab the values. ex of what i was trying [CODE] function blah() { //Creates the name tag $("#newitem").append("<tr><td><fieldset><legend><select name='produce'><option>--Select--</option><?=produce();?> </select></legend><table width='200'><tr><td>Ammount</td><td>On Hand</td><td>Cost</td></tr><tr id='txtHint'></tr>"); } [/CODE] as you can see that i have a …

Member Avatar for itisnot_me
0
91
Member Avatar for handyman_uk

Hi everyone i am looking for some help with a little java script i am no programmer so i need alot of help i have a marquee tag on my page that slides in some text from right to left once and the stops and remains on the screen have …

Member Avatar for handyman_uk
0
127
Member Avatar for E-AN

I need to validate two forms containing multiple input fields but want just one error message if any of the fields are left blank, the page is required to submit the users details (registration form). Also if any of these fields are left blank i don't want to be able …

Member Avatar for Graphix
-1
120
Member Avatar for imclumsy

Hi I am new to javascript and I am trying to get rid of an object expected error. Here is the line I'm getting an error at [code] <td></td><td></td><td align="center">To print this quote click <a href="/broker/OfferSummary.asp?QuoteKey=<%=vQuoteKey%>" target="blank" onChange="enablePRINT()" checked = "checked"> HERE.</a></td> [/code] here is the function enablePRINT() [code] function …

Member Avatar for imclumsy
0
132
Member Avatar for amitverma

i am using the following JQuery function to successfully POST data to the user_submit.php file, its just that the php file is unable to receive the data. [CODE] $(function() { $("#submit_js").click(function() { $.post("user_submit.php", { comment: $("#comment").val() }); }); });[/CODE] upon finishing the Firebug consoloe shows this: [CODE]<html> <body> Your vote …

Member Avatar for furutani
0
218
Member Avatar for veledrom

Hi, Why this code doesn't work? All I want to do is removing all the white spaces. JavaScript [code] function validateForm(){ var postcode1 = (document.form1.textPostcode1.value).replace(/^\s*|\s*$/g, ""); if (postcode1 == "") { alert ("ERROR"); } else { alert ("CORRECT"); } } [/code] HTML [code] <form name="form1" action="save.php" method="POST" onSubmit="return validateForm()"> POSTCODE: …

Member Avatar for veledrom
0
86
Member Avatar for Arianna

Hey. :D I've written a page which uses Ajax to let a user type in HTML on one side, and have the html be shown completely on the other side. It works well - that is, until the user wants to use CSS styles in the head. As it is …

0
77
Member Avatar for GReddy4u

If a mod comes across this thread feel free to delete it, I've re-posted it in the html forum since it has more to do with html, although it does deal with js as well. joshsonunionsquare dot com/index1.php I just added a 3rd button on the main section titled 'Photos' …

0
91
Member Avatar for gunjannigam

I have a code in Java 3D through which I can draw a static(all verticies are known before hand) 3D curve. But I want to draw a dynamic(vertices specified at they at run time) curve, and the number of vertices keeps on adding up. This is the code for static …

0
68
Member Avatar for kthaneer

Hi Pushkar Thanks a lot. The script manager works fine. I have a quick question, We have a java script function: [CODE] function openPickList() { var iMyWidth; var iMyHeight; iMyWidth = (screen.width - 350) / 2; iMyHeight = (screen.height - 200) / 2; //Open the window. var win = window.open("............. …

0
82
Member Avatar for sanm

Hi I am trying multiple related selects using coldfusion and javascript. I have four dropdown list first one is related to the second one and thrid one is related to the first one. It is working as per expected if i have two drop down lists which are related to …

0
123
Member Avatar for xylude

I am having trouble getting my if/elses to do what they should. It's probably something dumb that I'm overlooking. Can anyone help? [code] if(isset($_POST['homePageReg_submit'])) { $db = new connectDB(); $db->username = ""; $db->password = ""; $db->hostName = ""; $db->dbName = ""; $db->connect(); $rf_username = $_POST['homePageReg_username']; $rf_email = $_POST['homePageReg_email']; $rf_validateEmail = …

Member Avatar for ShawnCplus
0
94
Member Avatar for wonder_gal

Hi, I have 2 drop down lists, in which the selection value of the 1st drop down list will determine the content of the second drop down list. Is that I need to use javascript function to achieve this? If yes, how should I code the javascript and how should …

Member Avatar for giahmed
0
260
Member Avatar for lydia21

hi i want to pass variable from php to javascript.i want to pass my group[name please tell me.the current code is not working [CODE]<? session_start(); require_once('common/dblayer.php'); $db=new dblayer(); $id=$employer_id; $empid=$db->getgroupname($id); $groupname=$empid[0]["group1"]; echo $groupname; ?>[/CODE] javascript code [CODE] //Contents for menu 1 var menu1=new Array() menu1[0]='<a href="employercp.php">Job Portal</a>' menu1[1]='<a href="cggroup.php?id=<? echo …

Member Avatar for mehrab
0
295
Member Avatar for Oxiegen

I'm not entirely sure if this thread belongs here, or in "JavaScript / DHTML / AJAX". Anyway. I have a bit of a problem here, hoping that a kind soul might be able to help. On one of the webpages for the site I'm developing I have a bunch of …

Member Avatar for Oxiegen
0
210
Member Avatar for hajjo

Hello, when the page is being opened I want loading.gif image to appear. Then when loading is over and page is opened I want that image removed from the page ( loading image) anyone got sample code?

0
60
Member Avatar for avirag

I have an application in which reads the system date and if I increase the system date by 1year ,then the application expires and stops working....... I have a javascript file in which functions for this expiration period..... Kindly tell me how can I modify this code so that no …

Member Avatar for avirag
0
167
Member Avatar for boot-baby-boot

Hello,i have a question.I am designing a web application and here is a screenshot in png.[url]http://twitpic.com/uc9ha[/url] My question is,i want the email and password form fields to bie as big as i have indicated.What css do i need to have to make them to be of that size?. Thank you.

Member Avatar for JRM
0
89
Member Avatar for web3

I made little javascript bbcode editor on my website. How to display that code from mysql? Or how to save in mysql as html that code?

Member Avatar for Member #120589
0
134
Member Avatar for thebluestar

[CODE] <html> <head> </head> <body> <script type="text/javascript"> var arr = new Array(); var sortedARR = new Array(); // FORM to input the number of names document.write("<form name=\"TEN\" method=\"\" action=\"\">"); document.write(" Please enter the numbers of names u want to input:<input type=\"text\" name=\"NoName\"> "); var No = document.TEN.NoName.value; var N; N …

Member Avatar for thebluestar
0
139

The End.