Hi gurus,
I am planning an application that involves pulling XML data from the server side and manipulating it on the client side before allowing the user to save it as CSV.
On the server side, I will use Apache and PHP as the primary service interface, and the data source could be coming from MySQL server and/or Exist database server....
Hi.
I'm trying to add an 'active' class to a particular element based on the URL hash but it's not working as I expect.
Here's my code:
var hash = window.location.hash.substr(1);
if(hash != false) {
$('.products #copy div, #productNav li a').removeClass('active');
$('.products #copy div#'+hash+'').addClass('active');
$('...
Hello All,
I would like to have in my jsp when the user clicks on the submit button, a loading message or an image is shown while moving between the pages. So, how can I do that?
I tried to use some javascripts, but I did not success.
Thanx
...
So I have some javascript class and in one method I use jQuery to bind function to click event. And within this function I need to call other methods of this class. In usual js function I did it through "this.method_name()", but here, I guess, jQuery redefines "this" pointer.
...
Guys,
I've a simple flash application that does counting on button click. I load it in a page and a javaScript code does some DOM manipulation to move it from one div tag to another.
Problem: the state of the count is not preserved as the swf node is moved from one node to another.
What I did: 1. I simply get the node using javascript...
Hello,
I'm using the Telerik RadWindow control in one of my applications. When a user wants to authorize Twitter for the application the window displays the OAuth dialog for Twitter.
However, each time I display the pop-up for Twitter OAuth, or even just the plain Twitter page, the entire browser is redirected.
The control works just ...
Hello I need to destroy javascript cookies on a page refresh. I need to set a new bunch of cookies on every page load which help me render the web page based on user options. Is there a method to destroy cookies on a page refresh??
...
For example, if it's between 8 and 1 pm, it would say "good morning", if it's 1:01-6:00 pm, it would say "good afternoon" and if it's between 6:01-11:59, it would say "good evening"
How do I go about doing that using javascript/jquery?
...
Hello all,
I have a page, which is called from 2 different functions. For each function, the page has to be display different image. I have 2 images.
On the aspx page, code is like this. Please help me out how to display different image for different functions!! Thanks Guys!!
...
Hi
I am using " control + / " as a keyboard shortcut for my browser extension.
On Macbook (OSX 10.6) the shortcut works but always give a beep sound. On mac mini it works without a beep. What i am doing wrong?
Is control+ reserved for operating system? should i try with "command + /" or something like that?
"control + /" is not docum...
What are the top 5-10 most often used jQuery native API functions? (please do not suggest jQuery() function itself as there is no doubt this is the most often used one) If it is possible please also provide scenarious they cover.
The reason to ask this question is my attempt to create a jQuery-like API to the Ample SDK JavaScript GUI Fr...
I tried doing $.ajaxStart(function(){}), but it does not replace it, but appended.
Thank you for your help.
...
Hi I've got an Ext.Toolbar with form elements in it including a FileUploadField. I'd like to be able to submit this "form" using an Ext.form.BasicForm. How should I do this? Ideally it should behave as a FormPanel with a ToolbarLayout (though this doesn't render correctly).
...
Hi everyone,
I'm working with an xmlresponse document which has a lot of nodes with children and attributes. How can I make a reference if the children are similar on each parent node, if it has a different attribute value?
.
.
.
Thanks everyone
...
Just to make sure everyone understands what I am asking for, I will run through what I believe are the basic distinctions between document, window, and viewport....
WINDOW is the entire browser window, including all nav bars, etc....
VIEWPORT is the portion of the window used to view the current XHTML/HTML/Flash document...
DOCUMENT i...
I am Java developer new to .NET. I am working on a .Net MVC2 project where I want to have a partial view to wrap a widget. Each JS widget object has a JSON data object that would be populated by the model data. Then methods to update this data bound to events when data is changed in the widget or if that data is changed in another widge...
Are there any properties or events I can listen for from within the iframe to determine this?
The iframe src and parent page are on different domains.
...
Is there an easy way to check whether or not the user has connection to your website?
See if they don't get a connection error.
...
Hello all,
In my web application, I've set of checkboxes which on check populate a textbox above them.(If more than one checkbox is selected, then their values appear in the textbox separated by commas).
These set of checkboxes appear as rows in my HTML table.
Here's my HTML code.
<input type="text" id="newContactComment<%=rCount %>"...
In the page I'm working on, when the user clicks on an object, one SVG group rotates out of the way while another rotates in.
The code as it is works just fine in WebKit, but it isn't working at all in Gecko. Here is the block of code that is not being executed by Gecko:
var totStep = dur*2/msrate, step=0;
window.timer = window.setInte...