2,530 Topics

Member Avatar for
Member Avatar for Virangya

suppose i have div which has a class called "suf-text", and there could be other class names like "suf-gang", "suf-hub" .. so on.. i want to trigger an onclick even on these divs. i actually don't know how to do it.. would following do? $('body').find() but does find() need an …

Member Avatar for Airshow
0
275
Member Avatar for Mbot

Hi, Im having difficulty getting my form contents to send to my php page using ajax, jquery and json. The results just doesnt want to show. My javascript, where I create the JSON object and try to send it through to the php page: [CODE] var JSONobj; var JSONstr; function …

Member Avatar for Airshow
0
2K
Member Avatar for jaylb

Hi, I have javascript which counts seperately every time 2 seperate buttons are clicked, this then outputs the amount on the same page. This works, however I am now trying to add a third value to output on the page which is the total of the clicks which i would …

Member Avatar for niranga
0
158
Member Avatar for Danny159

Hey, I have the following code: I am trying to make it so when you tick the box it changed the result to what you clicked, then if you untick it it changes the result back... There will be multipal tick boxes on a page... Here is my code... [CODE]<script …

Member Avatar for Danny159
0
215
Member Avatar for n3xtgen

I have a simple web login application that requires a user to login to view the next page. The login page is HTML and when you click "Login" is goes to a PHP page to check the SQL Database. If it succeeds it goes to another HTML page. I want …

0
88
Member Avatar for raf.fredi

Following is my code and I'm not able to write insert query and upload file. [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 http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.js"> </script> <script src="http://cdn.jquerytools.org/1.2.6/full/jquery.tools.min.js"></script> <!-- This JavaScript snippet activates those tabs --> <script type="text/javascript"> …

Member Avatar for diafol
0
179
Member Avatar for kevindougans

Hi there, I'm sure there is an easy way to do this so let me ask. I have an "admin" page full of video thumbnials that I want to allow the user to sift through and pick which videos should be enabled or disbaled. To keep with current trends I'm …

Member Avatar for stbuchok
0
191
Member Avatar for oblo10

Hi in my script there is a jquery tab. The script is working, tab-content is changing but when clicked a tab I want to change class property of the li of active tab as class="current" How can I do it? thanks. <ul class="nav-content"> <li class="current first-li"><a href="#tabs-1">tab 1</a></li> <li><a href="#tabs-2">tab …

Member Avatar for stbuchok
0
160
Member Avatar for Romil797
Member Avatar for tanu963

Can anyone help me to create animated Neon Sign Board using jQuery ? I want to create it only with text without using images. Is it possible to create using text shadow? Please help me Thanks

Member Avatar for tanu963
0
64
Member Avatar for oblo10

Hi. In my web site I have a jquery tab. When clicked a tab I want to show a div which writes loading [ <div class="loading"><p>Loading...</p></div> ] and hide it when the clicked tab content is shown. Is there a way to do this? Thanks. My code is below. <script> …

Member Avatar for stbuchok
0
737
Member Avatar for oblo10

Hi. I have a jquery tab in my site. I want to set class="current" when clicked a tab. How can I do that? Thanks. <script> $(function() { $("#tabs").tabs( { } ); }); </script> <div id="tabs"> <ul class="nav-content" > <li class="current first-li"><a href="#tabs-1">Tab 1</a></li> <li><a href="#tabs-2">Tab 2</a></li> <li><a href="#tabs-3">Tab 3</a></li> </ul> …

0
61
Member Avatar for AMADH

Hello, I am trying to create a series of links that will show an element and then open up up the a different element for each. I have it so that I can create on, but I was wondering if somone could help me figure out how I can get …

Member Avatar for phpboyza
0
152
Member Avatar for sunwebsite

Hi I want to remove the first <LI> item and last three <LI> item from <UL> list. How to write code in JQuery. I need the below list [CODE] <ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> <li>6</li> <li>7</li> </ul> [/CODE] as below result [CODE] <ul> <li>1</li> <li>5</li> <li>6</li> <li>7</li> </ul> [/CODE] …

Member Avatar for stbuchok
0
2K
Member Avatar for lse123

Eclipse-JavaScript IDE has embedded all JavaScript Libraries like jQuery, MooTools, etc so applies code completion, to what ever is implemented, along with plain JavaScript?

Member Avatar for stbuchok
0
219
Member Avatar for ud2008

Ok, first let me explain what I try to do. I have a menu with some items containing a submenu. The submenu's should open when a parent is clicked and contains submenu's, and when traveling to another page (from the item clicked, for example a parent of submenu item), the …

Member Avatar for ud2008
0
1K
Member Avatar for Violet_82

Hi guys, I would like to add sth to my website but I am not sure what's the best way to achieve this. It is a kind of image gallery, say I have 10-20 images and I want to display all of them one after another one from the beginning …

Member Avatar for Violet_82
0
499
Member Avatar for Pravinrasal
Member Avatar for youvi

Hello guys, Am working on phonegap(jquerymobile) for an android application.I want to implement a map which shows a marker at a particular location and when i click on the marker,it should show a window and a description about the location inside the window..The below code is working when i run …

1
126
Member Avatar for oblo10

Hi. I have a web site that contains jquery tabs and one tab consists of a sortable jquery. Although the sortable works induviduallay it doesnt work when it is put into the tabs. Is there a solution of that? My tab code is as follows. <script type="text/javascript" src="javascripts/jquery.js"></script> <script type="text/javascript" …

Member Avatar for Airshow
0
663
Member Avatar for Pravinrasal

how can I access class name without using id I have following div tag: <div class="aa bb cc"> </div> their are three classes if i access class then which one will be access.

Member Avatar for niranga
0
70
Member Avatar for Pravinrasal

If I click on div first time it show alert and if i again click on div it will not show any alert box

Member Avatar for as.bhanuprakash
0
93
Member Avatar for gorleone

Have a interesting problem. I make a little ajax mechanism to get info from php file and add a function for delete the data. phpfile.php: [CODE] <?php if(isset($_POST['bu'])){ $data = 'text<a onclick="something();" href="#">alert</a>'; echo $data; } ?> [/CODE] js file: [CODE] function getdatafromfile(){ var bu = 'bu'; $.ajax({ type: 'POST', …

Member Avatar for Airshow
0
372
Member Avatar for Loveleen Kaur

i am using jquery code and it is being called inside while loop. the output is correct for the first time but the output is already displayed for the second tym. plz help me solve this prblem. here is the code. [CODE] <html> <head> <script src="jquery-1.6.4.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready( …

Member Avatar for pzuurveen
0
212
Member Avatar for Coyx

Hi all! I have a DIV (#content) and in that DIV I have about 4 or 5 <p>'s on the page. I'd like to give just one class of that <p> some jQuery to rotate 45 degrees. Could anyone point me in the right direction? I've searched everywhere I can …

Member Avatar for pritaeas
0
183
Member Avatar for Danny159

Hey, I am trying to get this working but failing! I am trying to make it so when you click the heading it opens the nab to do with that heading, and remember it... so next time you go onto the site it will remember what tabs you had open …

Member Avatar for Danny159
0
109
Member Avatar for saberExcalibur7

Uhm. Well i am really not well equipped with jquery knowledge therefore giving me the complete code would be the solution. =] The function will be 1.get the 70% width of the browser's screen. 2.convert that width into its corresponding px value 3.set the max width of the #mainContainer using …

Member Avatar for saberExcalibur7
0
231
Member Avatar for Behseini

Hi everyone, I am am trying to change the "display" property of a div from "none/block" to normal in order to display it on mouseover event.But I do not know why it is not working! Can you please take a look at following spinets and let me know what I …

Member Avatar for stbuchok
0
225
Member Avatar for pawan768

Please Help Me Out : I want to compare some condition like (check the user id exist in database or not)Trough Jquery, If it lie it show error image else it show the confirmed image! Any One help me out!

Member Avatar for stbuchok
0
304
Member Avatar for Pravinrasal

can anyone please help me I dont have knowledge of jquery I want ti design calculator in jquery

Member Avatar for Airshow
0
253

The End.