what is the best approach to create a prompt to asking input username & password by using Javascript
what is the best approach to using javascript to asking input username & password in a single prompt window?(multiple input field) ...
what is the best approach to using javascript to asking input username & password in a single prompt window?(multiple input field) ...
Hi, I have a databound treeview on an aspx page, that which will potentially contain alot of nodes. I was hoping to allow the user to search for specific nodes (by their text value) on the client side as to avoid posting back for each search. Ideally I would like the user to enter text into a textbox and when they click on a search butt...
i have to set my webpage as homepage in firefox using java script i used an script onclick="this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.example.com.html');" it work in internet explorer not in firefox any suggestions.... ...
Hi Guys, I'm using eclipse 3.5 with WTP 3.0 to develop a web app using JSP and Javascript etc. Sometimes I need to embed Javascript code directly into a JSP file eg. to use a string out of the resource bundle message. My problem is, that I can not find a way to turn on Javascript syntax checking within a JSP file. Can somebody help me w...
Hi. I have some progress bar (search results), which value is dynamically set on document.ready <div class="progressbar" rel="21"></div> <div class="progressbar" rel="36"></div> <div class="progressbar" rel="44"></div> <div class="progressbar" rel="58"></div> And $(document).ready(function () { $("div.progressbar").progressbar({ ...
Does anybody have any idea why Cufon has a second delay upon loading the page in Internet Explorer (all versions) - http://www.consolidatemydebt.co.uk I've got <script type="text/javascript"> Cufon.now(); </script> right before the closing </body> tag also. Thanks ...
Hello, The other day i just happened to visit this site :- http://www.peter-pearson.com/ Can anybody tell me how can i create this cool effect. I know how to horizontally or vertically scroll the page using JQuery's localScroll. But if you have seen the webpage, look carefully how beautifully the lines run over the background. If anyb...
I wont to add multiple function onchange from javascript to the same input. some thik like this: this.el = document.getElementById(this.docID); if(x==y) { this.el.onchange += function(){ // some code } } if(a==b) { this.el.onchange += function(){ // some code } } ...
I have this table structure <table id="latest" class="debt"> <thead> <tr> <th width="50">Credor</th> <th width="50">Devedor</th> <th>Motivo</th> <th width="80">Valor</th> <th width="10"></th> </tr> </thead> <tbody> <?php foreach ($this->latest as $latest) { ?> <tr <...
Hi everyone, Please tell me how to use geocode to get current country name where the site is loaded. I have to store country name in session.Also have a javascript to find out country name but i used jsp pages so it wont allow to store javascript varialble in JSP session.Plaese if anyone knows answer help me.In geocode GClientGeocoder()...
I have been trying to display the Loader.gif image when the form is submitted, it works fine with FF browser but doesnt work with IE, I tried with settimeout() function of javascript which helped to resolve the problem for IE but then it was not working with FF So someone could pls provide me a detail working example for both FF and IE?...
My site has a form which insert records in a database using ajax, at the same time, it "refreshes" a table also using AJAX in the same page showing this new record. So I have the JS code // New Record Div $('button[type=submit]').click(function() { // Read all the form content var creditor = $('#selCreditor').val(); var rea...
We are creating a gadget for the opensocial API 0.7. In some functions we have to decide, if the viewer is the owner. We couldn't use the usual function for this purpose: return gadgets.util.getUrlParameters().viewer == gadgets.util.getUrlParameters().owner; so we had to create a workaround and get the information via a DataRequest. Th...
Hi. I have been working with jqGrid and am a bit stumped as to why the following will not operate as expected, the single line of code simply uses the formatter to update a row - if I insert a value into the ID parameter it works fine (see commented line) - and if I use a variable it simply doesnt work. Am I missing something? The ID ...
I got a backend web service containing massive amounts of data that I have control over and I need to fetch data from it through a browser frontend. The frontends task is to simply display the data in a paged table but the user should be able to dynamically constrain the data based on the fields and i can't load the entire matching data ...
Hi All, I have to implement facebook login and also want to get logged in user's information like birthday, firstname, Email address. I have already done some other stuff like recent activities etc of facebook using javascript SDK of facebook. i am developing application in ASP.Net (C#). How can i get user information, Please provid...
I've got a JS object I've made, with a few prototypal functions, and calling them from within the constructor is fine, using this.[function] But in a later event handler function, this refers to the element, and not the object, and I'm not sure how to resolve this: It goes through the AddListener fine, the mouse down event triggers, ca...
Hi guys, I'm trying to match URLs with wildcards in them to actual URLs. For example: http://*google.com/* Needs to match http://maps.google.com And http://www.google.com/maps What would be the best way of going about this? I've tried using a regular expression and that works fine when I manually program it but I'm not sure wh...
I have the following code datePicker.change(function(){ dateSet = datePicker.val(); dateMinimum = dateChange(); dateSetD = new Date(dateSet); dateMinimumD = new Date(dateMinimum); if(dateSetD<dateMinimumD){ datePicker.val(dateMinimum); alert('You can not amend down due dat...
I have this piece of code // TR Fading when deleted $('.delete').live('click', function() { $.ajax({ type: 'POST', url: 'history/delete/id/'+$(this).attr('id') }); $(this).closest('tr').fadeOut('slow', function() { $(this).remove(); if($(this).closest('table').find('tbody').is(':empty')) $...