jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for adil24

in sturts how can i use tree node im using netbeans 6.8 this is my codes: <script language="javascript"> $(document).ready(function() { $('div.view').hide(); $('div.slide').click(function() { if($(this).children('img').attr('src')=='images/plus.png') { $(this).children('img').attr('src','images/minus.png'); //$(this).removeClass(); //$(this).addClass('slide_clicked'); } else { $(this).children('img').attr('src','images/plus.png'); //$(this).removeClass(); //$(this).addClass('slide'); } $(this).next().slideToggle(50); return false; }); }); </script>

0
59
Member Avatar for Barrett1

How would I go about getting a variable from a jQuery plugin? index page [CODE] $("#test-div").myplugin(); if(testvariable == 1){ alert("test variable equals 1"); } [/CODE] The plugin page [CODE] (function($){ $.fn.myplugin = function(){ var testvariable=1; return testvariable } })(jQuery); [/CODE]

Member Avatar for RRPowered
0
98
Member Avatar for veledrom

Hi, Code below replaces selected number with an URL given by the user. It doesn't work the way it supposed to do. If I select second 2 to make it an URL, it makes first 2 an URL instead. How do I solve this problem? Thanks in advance [CODE]<script language="JavaScript"> …

Member Avatar for veledrom
0
104
Member Avatar for rhuffman8

I am trying to make a page, similar to DW, with a menu bar at the top that loads specific content into the body when the links in the menu bar are clicked. I have read a few things about how to do this using javascript but I cannot seem …

Member Avatar for rhuffman8
0
540
Member Avatar for samarudge

Hey, I'm trying to implement CSRF tokens on a site of mine, but all the existing solutions have one of two problems; 1) The site runs on multiple servers (4 to be precise) so we can't use anything in _SESSION 2) The site gets over 400k hits a day on …

Member Avatar for jkon
0
788
Member Avatar for karthik_ppts
Member Avatar for karthik_ppts
0
107
Member Avatar for araib

How can u create a progress bar and a playlist for a custom media player??!! can anyone help??!!

Member Avatar for araib
0
188
Member Avatar for fuchsia555

hello everybody i need your help and experience for having code to show ( overlay / modal window ) to the user when closing or navigating away from the page ( i want put in this window facebook share to make the user to share the page in his facebook …

0
67
Member Avatar for devinodaniel

Hello! I have what I think is semi-easy. I just can't figure it out. [CODE] <html> <body> <div id="container"> //scan in barcode here <div id="repairID"> <table> <tr> <td> Scan ID: </td> <td> <form method="post" name="editRepairForm" action="https://example.com/IDEdit.do" target="frame1"> <input name="scanId" id="scanId" value="" /> <input name="fromLaunchScreen" id="fromLaunchScreen" type="hidden"/> <input type="submit" id="SubmitForEdit" style="display:none;"/> …

Member Avatar for devinodaniel
0
231
Member Avatar for LRNPHP

Hi Everyone, I'm looking for a nice menu, I have something like this in mind. [url]http://www.andrewsellick.com/examples/tabslideV2/[/url] I just need 2 menu's. One on the left and the other on the right. When I move my mouse over it it should drop down with a short description. Any help or pointers …

Member Avatar for newbieJS
0
132
Member Avatar for newbieJS

I have been working at this for far too long and I'm having no luck sorting out my menu issues. Please HELP ! Below I will paste the code. I went through numerous tutorials and have attempted to make use of two functions (provided on-line through W3Cschools tutorials.) I have …

0
88
Member Avatar for 68thorby68

I have read through loads of comments about how and why object expected can be reported, but I think my problem is that my javascript and calls are rubbish. I want to build a simple function that, if I de-select the first check box, all other checkboxes are de=seleceted, or …

Member Avatar for 68thorby68
0
127
Member Avatar for smakdown

Hi everyone ,, I'm planning to start doing editor web application for my final year project , now i have to decide which RIA framework to use , i have no problem to adopt any new language and i love to learn more :D , i have seen GWT but …

0
32
Member Avatar for XerX

Hello. This is my program: [CODE]<html> <head> <script type="text/javascript"> function check() { if (document.getElementById("age").value!=1) { alert("error") } } </script> </head> <body> <form> Age: <input type="text" id="age" size="30"><br /> Name: <input type="text" id="name" size="30"><br /> <input type="button" value="Check" onclick=check()> </form> </body> </html>[/CODE] and my question is how to make it display …

Member Avatar for XerX
0
157
Member Avatar for xanawa

I would like to create a message box which has a textbox to enter a string in it how is this possible?

Member Avatar for Mitja Bonca
0
4K
Member Avatar for serdas

this works perfectly wit FF but not with IE <body onLoad="Calling();"> do you have any ideas why please? Thank you

Member Avatar for Airshow
0
93
Member Avatar for johndohmen1963

Hi Hope thet someone can help me with folowing I have a mini event calender but i want to show te even into a popup but i can't fiux it i have here the code [CODE]echo "><a href='".$_SERVER['PHP_SELF']."?month=".$monthstring."&day=".$daystring."&year=".$year."&v=true' onclick='Popup.showModal('modal');return false;'>".$i."</a></td>"; } echo "</tr>"; ?> </table> <div id="modal" style="border:3px solid black; …

Member Avatar for tomato.pgn
0
112
Member Avatar for loolek

Please help me!! What is wrong with my code?? [CODE]<div id="pictureFrameDogodki"> <div id="pictureMainDogodki1" style="display:none;"> <img src="images/snowparty.jpg" alt="pa"/> </div> <div id="pictureMainDogodki2" style="display:block;"> <img src="images/pokerturnir_zanet.jpg" alt="po" /> </div> <div id="pictureMainDogodki3" style="display:none;"> <img src="images/molella.jpg" alt="mo" /> </div> <div id="pictureMainDogodki4" style="display:none;"> <img src="images/Inna.jpg" alt="in" /> </div> <div id="pictureMainDogodki5" style="display:none;"> <img src="images/demosntracije.jpg" alt="d"/> </div> </div> …

Member Avatar for loolek
0
358
Member Avatar for msqueen082

hello I wrote code for a scramble word game and I am trying to set focus everytimge I click on check button..I've got it so it will set focus when I start game, but whenever I put put setFocus() on the onclick of the button it will not work... is …

Member Avatar for msqueen082
0
123
Member Avatar for asg333

I have a form that takes a zipcode as input and displays a google map on the same page using ajax. If I submit the form using a submit button, it works fine. However, I would like to auto submit the form after 5 characters are entered. This code works …

Member Avatar for Airshow
0
184
Member Avatar for sunny124

Hi, I have a checkbox where if a user clicks it, the address fields gets removed and if he clicks it again, it should add those address fields back. I can get it to remove it successfully but when I try to add those fields back, I get [object Object] …

Member Avatar for sunny124
0
131
Member Avatar for 7kemZmani

[B]how can i transferring between 3 tables in a certain location in the webpage by clicking on one of 3 buttons above this tables and each one of them (the tables) came over the other (in same place) using ajax technique.[/B] [COLOR="red"][B]seriously[/B] i need it ... and thanx in advance[/COLOR]

-1
77
Member Avatar for Member #578978

Hi there, I'm trying to do a Username validation with JQuery but I'm not sure how to get a "TRUE" from the first section of code before going to the next section which is an ajax call to the backend. Below is my code. [CODE] $(document).ready(function() { $("#username").change(function() { var …

Member Avatar for Member #578978
0
278
Member Avatar for nizuya

[CODE]<a href="javascript:document.apply.submit()" >Submit</a>[/CODE] I use this all over my website. It works great every where but on one page. The error is document.apply.submit is not a function. I would include the code but the page really long. Anyone have any ideas what would cause this error?

Member Avatar for nizuya
0
106
Member Avatar for branding4you

I have 2 sections of code that mess up the layout when they are on the same page, and only in IE8 on the server, localhost it looks perfect is there any code that i could use to make the code standard the imagelookup is the one moving to the …

Member Avatar for codewall
0
174
Member Avatar for cagline

how to create popup message ,popup when database changes,....like facebook notification( even browser was minimized .. onfocus()not enough)

Member Avatar for codewall
0
76
Member Avatar for anita_86

Hi All, I am using this code to populate a drop down list from mysql database. I need to pass id and name through this code.but the problem is the value is lost when the page gets refreshed.and it works fine if i pass only name through it. my code …

Member Avatar for codewall
0
80
Member Avatar for susheelsundar

Greetings Everyone, The Scenario is, we are incorporating a js calender into a page, as usually, there is a issue with calender clip location, the css of calender is in javascript, i have tried targeting firefox enough with tags like (firefox, -moz-binding:, load-mozilla-css, ff4) in the following code snippet [CODE] …

Member Avatar for codewall
0
242
Member Avatar for anandhikrishnan

Hi, I am having a text box in a form in HTML, I tried to focus the text box function a(){ document.formname.textboxId.focus() // this function works in IE but throws script error document.formname.textboxId.onfocus() // text box is not selected and no script error. }

Member Avatar for codewall
0
88
Member Avatar for siknoz

So I'm new to the programming side of webpages, but I'm trying to learn. I am in the process of making a single page website for a local radio group of roughly 20-30 members which may increase over time. They want to be able to show when they are online. …

Member Avatar for codewall
0
98
Member Avatar for satimis

I'm searching for a not-too-complicate solution to create drop menu. I target the output on webpage similar to Demo 2 on; [url]http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm[/url] Please advise whether; CSS Menus - Fluid and Accessible - Vertical Tutorial [url]http://ago.tanfa.co.uk/css/examples/menu/tutorial-v.html#vstart[/url] and CSS Menus - Fluid and Accessible - Horizontal Tutorial [url]http://ago.tanfa.co.uk/css/examples/menu/tutorial-h.html[/url] are the right instruction …

Member Avatar for codewall
0
99
Member Avatar for ivan3510

Can you check this site? (can you check can you listen to music? [my browser is firefox, and can you check it with other browsers?]) Thanks! ([URL="http://latinus.herobo.com"]click[/URL]) (PS. Glasno&#263;a means volume)

Member Avatar for ivan3510
0
95
Member Avatar for sww176

I want to do some paint in browser and I use VML in IE. here is a clear XHMTL document [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 content="text/html; charset=UTF-8" http-equiv=Content-Type> </HEAD> <BODY> </BODY> </HTML> [/CODE] I want to add <v:line style="POSITION: absolute; BEHAVIOR: #default#VML" from = …

0
39
Member Avatar for jonsan32

[B]Trying to install a slideshow and a quote rotator, and can only get one to work at a time. I assume the scripts are conflicting, but is there a way around this? Can I just rename one of the [COLOR="Red"]$(document).ready(function()[/COLOR] to like [COLOR="Green"]$(document).ready(function(2)[/COLOR] or something?[/B] This forum tries to explain …

Member Avatar for jonsan32
0
200
Member Avatar for rutaba

i want to add marker in the google map embedded with my php site? and want to show information abt that marker? kindly can someone help me how can i do that usig google maps? waiting for reply thanx

Member Avatar for keval_hack
0
220
Member Avatar for pietpiraat

Hello everyone, i'm using the keith woods jqeury datepicker, now my question is about the rangeselect option, it always blancs out dates previous to your first selected date, is it possible to change this so the "oldest" date is the first, it can be a little confusing for some users …

0
95
Member Avatar for manraj82

Hi guys, I am in the process of creating a login form in ASP.Net and I have not written any code for it yet bcos I dont know how to go about doing it.In the past I have created basic login forms in ASP.net by redirecting them to a page …

Member Avatar for crishlay
0
1K
Member Avatar for Mrunmaishinde

hi.... ZSLGRREN i am to late to reply , sorry i have used your code of changing color of selected row of gridview but problem is that color is not stable . after click event fire color is disappear... so plz help...

Member Avatar for crishlay
0
164
Member Avatar for minitauros

Hello, I'm encountering an AJAX problem when I try to execute multiple AJAX requests at the same time. What I want to do is delete a message and display the status (succes or failure) of that in [I]div1[/I], and refresh the messages on the page in [I]div2[/I]. This needs (for …

Member Avatar for Airshow
0
442
Member Avatar for Member #578978

Hi, Does anyone know how to add an [URL="http://ajaxload.info/"]ajax loader[/URL] to the [URL="http://jquery.bassistance.de/validate/demo/milk/"]remember the milk[/URL] validation example? So that while the backend is busy, it shows the gif, when it's finished, it hides the gif... Thanks, Ashton.

Member Avatar for hielo
0
455
Member Avatar for ashishjannela

Hi everyone, I need to find the Latitude and Longitude values for a moving vehicle from the Google Maps, using javascripts. Can you give the sample code, please help me.

Member Avatar for Airshow
0
164
Member Avatar for gambit_1607

hi i want to check off a checkbox while i'm typing. for an example if i'm typing "oranges are good" and i have oranges, apples, and blueberry under my check box. i want oranges to be checked of as soon as i type oranges in my phrase "oranges are good". …

Member Avatar for hielo
0
142
Member Avatar for lbeddawi

Hello; Could you please help me figure out why this form of mine does not show all the DIVs when I choose all the checkboxes of the Page Kind. [ICODE] <%@ Page Language="VB" MasterPageFile="~/_templates/MasterPage-ContentNormal.master" autoeventwireup="false" inherits="SierraClub.PublicSite.BasePage" title="Add This" %> <asp:content id="content1" contentplaceholderid="maincontent" runat="Server"> <style type="text/css"> body{ font-family:"Lucida Grande", "Lucida Sans …

Member Avatar for lbeddawi
0
309
Member Avatar for Nybuler

Morning, and greeting to all~ I'm building a [B]registeration form[/B] for a forum i got 3 input : [B]User Name, password, and email[/B] In this case i use [B]ajax[/B] to do the [B]duplicate validation check[/B] once the registering user entered a name or email that has been took by other …

Member Avatar for hielo
0
240
Member Avatar for backalley

[CODE]<html> <head> <h1>Welcome</h1> <h2>back</h2> <form action='get.php' method='GET'> Name: <input type='text' name='fname' /><br> Age: <input type='text' name='age' /> <input type='submit' value ='clik here' /> </form> </head> </html> <?php $fname = $_GET['fname']; $age = $_GET['age']; if ($fname && $age) echo "your name is. $fname , and your age $age <br>"; echo date …

Member Avatar for tomato.pgn
0
123
Member Avatar for HelenLF

I have been asked by a client if it is possible to have an image appear when a user tries a screengrab on images on his website. Can this be done?

Member Avatar for svilla
0
93
Member Avatar for pramod lekkala

hello guys am new to jsp and struts i have an issue in jsp struts consider there are two jsps 1 is genmenudetails where it contains the buttons (getdetails,add,delete) 2 is another jsp which consists of genmenudetails jsp initially delete button was not enabled then i went to businessdelegate of …

Member Avatar for peter_budo
0
87
Member Avatar for ivan3510

I saw one page where image was loading. First, there was something like this image (in this text: first image): [URL="http://www.lutrijabih.ba/images/loading.gif"]click[/URL]. And then, when image (real) loaded, it replace first image. Do you maybe know how to do that? (I don't remember the URL of this page.). Thanks!

Member Avatar for ivan3510
0
116
Member Avatar for Danny_501

Hi all, I have a html page with html form input boxes in it. What I want to do is validate these input boxes with javascript. I have a span element(error message) next to the text boxes which will only be visible when the user submits the form without entering …

Member Avatar for Danny_501
0
113
Member Avatar for Xcelled194

OK, I'm making a program that pulls information out of a DaniWeb Profile page using a WebBrowser. However, it's frankly getting annoying having to click "Member log-in" each time, and this is something you'd do multiple times a day, possibly with different accounts. So, I thought, why not have it …

0
63

The End.