15,697 Topics

Member Avatar for
Member Avatar for asif49

Hi I have an event listener attached to something which will fire a lot based on some user action that has occured on the page or some javscript change. Unfortunately it will be something like 5 or 6 fires in the space of 250ms and I am only interested in …

Member Avatar for paulkd
0
237
Member Avatar for jLamp

Dear Friends, I've generated Image Slider using WOWSlider. Now I wants to add tooltip to that Image Slider. It's mean, when user hover mouse on the each slider each tooltip should be displayed. How can I do it?? Please help me friends.

Member Avatar for diafol
0
163
Member Avatar for asif49

I have script which will run across multiple pages I don't know about. Say I want to replace some text within it. I attempt to do it by looping through every element on the page and checking if it matches the regex before replacing it but keep getting this... SCRIPT5007: …

Member Avatar for asif49
0
165
Member Avatar for GlenRogers

I have a load of images overlapping, I just done this by giving a css style of margin:0 -20px 0 -20px;. They overlap the one on the left and the one above, its to unioform looking. Is there any way to use js/jquery to give a class a random z-index? …

Member Avatar for GlenRogers
0
725
Member Avatar for cgull

Hello, I need help with sliding down an element. When it is sliding down I want the parent's div height to change so it will contain the sliding element. My html: <div class="sliderBox"> <ul> <li> <div class="main"> <div class="publicationTitleOuter"> <div class="publicationTitleInner">Kouga/Uitenhage</div> </div> <p class="issueDate">8 MAY 2013</p> <div style="margin-top:10px"></div> <div style="width: …

Member Avatar for cgull
0
356
Member Avatar for riahc3

Hello How can a small (I imagine jQuery UI popup) popup hover over a page then disappear after x seconds?

Member Avatar for JorgeM
0
92
Member Avatar for Cravver

I need to make that when you use a color picker the hover styling would work too. So far I've only got background and border bottom working here is the code below (uses JQuery): var customElements2 ="#search .submit_input, .reputation.positive, .members li.positive"; var customElements = ".maintitle, #community_app_menu > li.active > a, …

Member Avatar for LastMitch
0
737
Member Avatar for zacharysr

so i have a problem, i'm trying to make a live chat where two members can chat without having to refresh the page, and i have got everything work up to where you start typing in the textarea, well i'm trying to check for the "enter" key to be pressed, …

Member Avatar for zacharysr
0
246
Member Avatar for xuexue

Hi! This is my code to get the difference of two dates in Javascript. var today = new Date(); var dd = today.getDate(); var mm = today.getMonth()+1; //January is 0! var yyyy = today.getFullYear(); if (dd < 10) { dd='0'+dd } if (mm < 10) { mm='0'+mm } today = …

Member Avatar for xuexue
0
2K
Member Avatar for dina85

i want to print out my form using onClick="window.print()".. but the output is not same with display form in browser. for the information, i use CSS to positioning the layer or <div>..

Member Avatar for dina85
0
101
Member Avatar for Reliable

I've been through Code Academy and LearnStreet Beginners courses. I am currently workign on the beginner's projects in Code Garage to practice. It seems, though, that there are some methods needed to complete the projects that werne't covered in the lessons. Anyone else use this site and notice this? Also, …

Member Avatar for RoryGren
0
107
Member Avatar for dina85

I need to use javascript so that when the one radio button is selected nothing happens but if the other one is (for example, Cheque) it will then validate the field (Cheque Number)..

Member Avatar for maharrington
-1
98
Member Avatar for serph09

So I have this code here: http://jsfiddle.net/4Cqkh/1/ What I'm trying to do is when I click on a thumbnail, the below larger image of it should display according to which thumbnail is clicked. I tried switching the larger image's src to that of the thumbnail src's value when clicked but …

Member Avatar for serph09
0
248
Member Avatar for zacharysr

I am trying to make a jquery/php chat and i append data to the chat box, but then when the jquery loop trys to get the .last() data it gets the one before the appended data causing it to append the same data over and over again. hHow would i …

Member Avatar for zacharysr
0
395
Member Avatar for happygeek

Dana Tamir, Enterprise Security Director for [Trusteer](http://www.trusteer.com/) has recently uncovered a variation of the TorRAT banking data malware which has been actively configured to target Twitter users. The attack works by "injecting Javascript code into the victim’s Twitter account page" Tamir says, adding that the malware "collects the user’s authentication …

Member Avatar for diafol
2
389
Member Avatar for bhallarahul

I want to create a form in web app where users can enter there name and emailid and dropdown list(whether it is from management, student or guest). For some of the preferences, I would like to open a dialog containing a drop down menu allowing user to pick an option …

Member Avatar for bhallarahul
0
267
Member Avatar for riahc3

Hello I want to make a dynamic searchable scrollbox using a textbox..... Lets say I have the following options..... Ant Alroy Antlers Antldo Zoo When I click and open the scrollbox, it should show all options. In the textbox, if I type A it should show Ant Alroy Antlers Antldo …

Member Avatar for riahc3
0
148
Member Avatar for rabbikhanbd

Hi I am Mohammad Fazle Rabbi a new blogger. I am always try to make some unique design on my blog but every time others are copying my design by viewing blog source code through Firefox. So is there any way to disable source code in Firefox browser only. Because …

Member Avatar for diafol
0
606
Member Avatar for daniel36

I want to close my current window in javascript and want a prompt alert to close or stay here when window is closed by me. i have used onbeforeunload property of body tag.

Member Avatar for Troy III
-1
601
Member Avatar for while(!success)

Hi guys, I have php code that generates a table based on the results of a mysql query. My questions is how do I update edit the html table row and push the changes to a mysql table? I am using this example: http://bootsnipp.com/snipps/table-with-users The thing I am trying to …

Member Avatar for while(!success)
0
773
Member Avatar for RT00220489

Hi, My question goes as follows : I need to replace an existing image, with another one, but without using jquery ie using javascript and using the id of the image as it is <asp:Image> tag and hence does not support name. The image supports the functionality of toggling the …

Member Avatar for RT00220489
0
3K
Member Avatar for Bibek_NS

I have been using **JavaScript** for almost one and half years and it has turned out to be a language that has enormous *flexibility* and *customizable* features which makes web development a great fun. But one thing I wanted to know is that, if **JavaScript** can be used to write …

Member Avatar for paulkd
0
182
Member Avatar for chrispitt
Member Avatar for Bibek_NS

I came across this feature that enables the users to block those sites which secretly follow them through the web pages that they visited.Can anyone please explain me as to how it works and is it browser oriented or is it a part of the web ?

Member Avatar for pritaeas
0
105
Member Avatar for riahc3

Hello Using accordion, I want to open it (only one section) when I hover over the header and close it when I leave the header with my mouse. Ive been able to get it to work 50% but when I hover my mouse over the header if it is open, …

Member Avatar for riahc3
0
656
Member Avatar for designershiv

<html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { //$(".box:contains(latin)").wrap("<div></div>"); // $("div:contains('roots')").css("text-decoration", "underline"); //$("div:contains('John')").css("text-decoration", "underline"); $("div:contains('John')").addClass('test'); }); </script> <style type="text/css"> .test{color:red;} .list{float:left; width:80px;} .list li{list-style-type:none;} input{text-transform:uppercase;} </style> </head> <body> <div> Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in John a piece of classical …

Member Avatar for designershiv
0
3K
Member Avatar for designershiv

I have a requirement to remove the use of tables and replace the code with HTML lists (<ul> and <li>). The HTML code to be replaced is as below <table> <tr><td>John Smith</td></tr> <tr><td>24 years</td></tr> <tr><td>Chicago</td></tr> </table> How to replace the above code with (<ul> <li>)

Member Avatar for designershiv
0
359
Member Avatar for designershiv

Can anyone tell me how to write each function for ajax loaded elements Ex:Refer the code below $('textarea').each(function () { $(this).attr('maxlength', 150).addClass('characterCount'); }) This code working fine, how to make it work in ajax loaded elments

Member Avatar for designershiv
0
193
Member Avatar for designershiv

Dear All, I am trying to store a predefined div with a class in a variable using jQuery, Please find my below code and let me know whether it is right or not. loader : $("<div/> + {class:'test'}") thanks in advance.

Member Avatar for designershiv
0
121
Member Avatar for simplypixie

As usual I am having a love hate relationship with jQuery and Ajax :) I have a PHP file that uploads and resizes and image and stores the data in the database, which on its own works fine. I am now trying to do this through a jquery modal/dialog box …

Member Avatar for simplypixie
0
331

The End.