20,316 Topics
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 …
how to make javascript validation onsubmit go first before onclick submit button <form name="daftar" method="post" action="daftar.php" onsubmit="return checkscript()"> <input type="submit" name="Daftar" value="Daftar" id="submit" onClick="return tq()"/> and my js: function checkscript() { if (document.daftar.terms.checked == false) { alert('Sila pastikan anda telah check ruangan persetujuan, untuk menandakan anda setuju dengan syarat-syarat kami.'); …
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 …
Hi these day i am trying learning ckeditor so i used CKEditor jar available for the java developer when i run given code on tomcat server this ode will not give anything please tell me <ckeditor:replace replace="editor1" basePath="/ckeditor/" config="<%= ConfigurationHelper.createConfig() %>" events="<%= ConfigurationHelper.createEventHandlers() %>" /> what is wrong or it …
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 …
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 …
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?
Hello Every body I am standing on a cross road with a doubt which way is the correct way. As you all are seeing the image Groupbox and CheckBoxes all are dynamically created. What I am confused about If user select Sun Tue and Fri from XII2013SIF01 and Mon Tue …
Hi Guys wanna ask some assistance/ help I'm making something like notification with jquery and php and its working fine now the only problem that i encounter is on the notification its only show one data repeatedly its not showing the other data that supposed to be showed Here's my …
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> …
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
I have heard a rumour that it is possible to create apps for smart phones using only HTML5, CSS3 & JavaScript. Up till now I have used PhoneGap to make my programs cross platform compatible, but I have been given to understand that with only HTML5, CSS3 and Javascript one …
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 :)
I had a background image for one of the container divs in my page. I positioned it to a specific pixel using its style properties. It worked fine in the internet explorer but was located to a wrong position when displayed by firefox. So i wrote the following code to …
Hi, I'm using Joomla at the moment trying to create a component that will display an accordion with 10 catalogue items from a database. The problem I'm having is I'm not quite sure how to create the accordion and connect it with the database so that each row will be …
Hi, I have an accordion menu for wordpress that works nearly the way I would like it to. I was wondering if there's a way to make the menu close once clicked again. I'm happy with how it opens when clicked, it just stays open after that and can't be …
Hey Im having problemas getting/setting cookies. On local side I can do it but only I cant.... I set a cookie at http://example.com/folder/index.html and I cant read it at for example http://example.com/folder/otherfolder/file This does NOT work: function setCookie(c_name,value,exdays) { var exdate=new Date(); exdate.setDate(exdate.getDate() + exdays); var c_value=escape(value) + ((exdays==null) ? …
I have been searching for the past several hours to find a way to rotate through 4-5 different graphics in the header of a web page that I am creating, but have had very little useful help. There seems to be countless jquery slider scripts out there, but even after …
Hi, I have been trying to use AJAX with JQuery in a feedback page I am trying to build. I can get the feedback submitted without going to a new page, but currently I can only see the feedback updated when I refresh the page. I called the feedbackdisplay.php file …
I'm creating my very first app with Backbone. Basically, I have a two-level deep unordered list. <ul class="cabinet"> <li class="drawer"> <a>Drawer 1</a> <ul class="boxes"> <li> Box 1 </li> <li> Box 2 </li> </ul> </li> <li class="drawer"> <a>Drawer 2</a> <ul class="boxes"> <li> Box 3 </li> <li> Box 4 </li> </ul> </li> …
I keep getting the following error and cant seem to figure out where I'm going wrong with the code and have tried changing it but just seem to make is worse wonder could someone please help me, the code i am using is as follows: [CODE] this is the code …
Hai everybody, I need help to import evenbrite event import to my applications. i did this way. but event fetching is fine. ` token = Eventbrite.prototype.data.getAccessToken(); Eventbrite({'app_key':'*******',access_token:token}, function(eb_client) { eb_client.user_list_events( {}, function(response) { var events = new Array(); } }); ` but i want to something like this way. https://www.smore.com/app/pages/new?ref=discovery. …
how can i change my background image by clicking on another image use as a button with jQuery... please help
I Want to create a form in which the pop-out form should disable the background form just like save as dialog box in notepad. Please ANybody Help me .. I am Creating Application and Need it very urgent .
hi coders.. i need live availability code i am using codeigniter. i am inserting values(username,password,email,phone number) by using array . if the email is already in databse i need to show error message.. with out reloading the page.... thanks in advance.
hye guys, i have a html code as below: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script src="graph/enhance.js" type="text/javascript"></script> <script src="graph/excanvas.js" type="text/javascript"></script> <script src="graph/jquery.min.js" type="text/javascript"></script> <script src="graph/visualize.jQuery.js" type="text/javascript"></script> <link href="graph/basic.css" rel="stylesheet" type="text/css" /> <link href="graph/visualize.css" rel="stylesheet" type="text/css" /> <link href="graph/visualize-light.css" rel="stylesheet" type="text/css" /> <style type="text/css"> .dwpeAd { …
Hey Everyone, I previously had an issue with a date display format. I have a different question that deals with displaying singular or plural words using a version of an if statement that displays an "s" or displays nothing based on how many comments there are in a specific blog …
I need to open a servey page when a user leave site.I am doing this by opening a popup window using javascript function onbeforeunload. but there is problem that 90% of popup is blocked by browsers.is there any solution for it?
This seems like a simple one, but I must be missing something? I want the page to slide down into view when the document loads. I thought I could do it by just wrapping the content in a div positioned off the page, and bring it down. But nothing happens? …
Hi, I need help! Im updating a div with groups of images using jquery ajax. I'm also using the Galleria plugin to display these images. My problem is this: on the first set of images loaded galleria works fine, but if i try to load differnt images galleria does not …
Hi I am not familiar with ajax. pls help me how i can do in script Below my script and using pdo and mssql 2005. Below script working fine. But everytime change the details, page refresh and display is delayed Pls help me --------------------------------------------------------------------------- index.php ---------------------------------------------------------------------------------------------- <?php include_once '../inc/connection.inc.php'; ?> …
hai.. am exporting xml file using save dialog box and i need to know whether user save the exported file are not by checking which button is clicked on save dialog box (save or cancel) is it possible please help me Thank you
Hi, I am having issues with popup panels disappearing because the control is posting back I have a popup extender on a page which pops out a panel that contains a control I have created <asp:scriptmanager ID="Scriptmanager1" runat="server"></asp:scriptmanager> <ajaxToolkit:ModalPopupExtender ID="PopupExtender1" PopupControlID="Panel1" runat="server" TargetControlID="Button1"> </ajaxToolkit:ModalPopupExtender> <asp:Panel ID="Panel1" runat="server" BorderStyle="None" BorderWidth="1px" ClientIDMode="Static" …
I have a grid view control with list of rows items. Each rows has a button which would triggers a client side pop up modal form to ask the user to enter some data before continue to execute the server side method. The problem is I cant find a way …
I have dropdown down boxes with multiselect; I'm using jguery to display Dropdown with multiselect; I'm populating Select Locality with Select City dropdown. Now, when I select a city from dropdown It should display its locality in dropdown with multiselect but showing localities in dropdown only. Code is attached in …
Does anyone know how to makea n annoying pop up message in javascript, that keeps on opening up over and over again, almost like a loop script? :D
The End.