15,688 Topics
![]() | |
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>.. | |
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, … | |
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).. | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … ![]() | |
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. | |
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 … | |
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 … | |
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 … | |
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 ? | |
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, … | |
<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 … | |
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>) | |
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 | |
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. | |
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 … | |
Hello Since I can't get something to work, as a temp fix, Im going to do something else but I need this to only happen if it is a Webkit based browser (Safari, Chrome, Android, etc...). How can I detect this? Thank you | |
Hello I have your standard input box to enter text. I can insert text in that textbox in all browsers except in Google Chrome. Why is this? | |
Hi, I have this popup with a Login Form (and a register form comment): div id="login" style="float:right; width:15%; padding-top:3px;"> <a href="#" class="topopup">LOGIN | REGISTAR</a> <div id="toPopup"> <div class="close"></div> <div id="popup_content"> <!--your content start--> <h2>Login</h2> <form id="login"> <table cellpadding="3" cellspacing="2"> <tr> <td> Username: </td> <td> <input type="text" name="username" id="username" /> </td> … | |
Hi there I am working on my company's festival website and I am trying to implement social media feeds on the right. Twitter worked a treat but facebook is giving me grief. I tried a page badge but it looked like hell. I am currently using the Like Box but … | |
I have been developing my first (real estate) web page for a few months and that's all my experience with programming... So forgive me if this is a stupid question. I have been following basically 3 tutorials ([first](http://www.domagojsalopek.com/Details/Display-locations-from-a-database-on-a-map-using-Google-Maps-JavaScript-API-and-PHP/22), [second](http://www.geocodezip.com/v3_MW_example_categories.html) and [third](http://gmaps-samples-v3.googlecode.com/svn/trunk/articles/phpsqlsearch/phpsqlsearch_map.html)). They are kind of working together with a few … | |
Hello I am looking for a Javascript/Jqurey gallery that; will loop, and have controls. I can't find exactly what i need, can anyone point me in the right direction please? Thanks #c2webdev ![]() | |
hi i want to build a dynamic select box along with submit button. for example in my first select box there is a number of countries. second select contains the number of cities according to the country name. the problm here i am facing i dont know to open the … ![]() | |
![]() | Hey guys. I'm not so great with Javascript, but I can somewhat manage. So I have this slightly modded video lightbox that works fine, but I'm trying to wrap my head around adding a Disqus module underneath the vid. So I have 2 questions. 1. If you add a disqus … ![]() |
I need to convert python code to javascript. do anyone here know javascript? please give your mail id i will sent the python code to your mail! thanks in advance :) |
The End.