Complete List
Apr 13, 2005Is there a discussion/explanation of all the possible DOM Objects?? Well if not, Here's the first question: What is the difference between height and offsetHeight ?
View 2 RepliesIs there a discussion/explanation of all the possible DOM Objects?? Well if not, Here's the first question: What is the difference between height and offsetHeight ?
View 2 Repliesi have a problem with the jquery autocomplete on IE.When i use the page scrollbar the results list disappers.maybe it's a problem on focus.
View 2 Replies View RelatedI would like to add a "Create new..." item to my autocomplete lists togive users a way to create new items. This item would stick at eitherthe top of the bottom of the suggestion list and, when selected, firea callback where I could display a dialog to collect the formationfor the new entry, which would then go into the autocomplete list.I could easily be missing something but this doesn't look possible outof the box.More explanation: I'm selecting from a list of people. If the personI'm looking for isn't in the list I need to pop up a dialog so I canenter their name, email, etc. That new person then gets put into theautocomplete list and selected into the form field.I've been poking around the source code but haven't been able tofigure out a way to implement this yet
View 1 Replies View RelatedIn IE when autocomplete is working and the user picks the drop down in a Input text box, the password will appear giving the user quick access to the next step. But the cursor should occur to the right of the inserted "*"'s in the pasword box. But for me my cursor is just sitting at the end of the Input box I mentioned. I would like the cursor to sit at the end of the "*"'s in the password box.
I tried disabling the Input box and all that did is crash Internet Explorer plus it didn't put the cursor at the end of the "*"'s in the password box anyway. Any suggestions how I can get what is normal in this case?
Is it possible on Mozilla based browsers and IE based browsers to get
the complete source for the current page that is opened?
document.body.innerHTML does well but only gets what's within the
page's BODY tag. document.body.outerHTML doesn't work with Mozilla.
Is there such a thing as document.src.value or something simple like
that?
I am try'g to send window.location.href to the server script who will
generate dynamic javascript according to the referral name comg in as
param:
<script language="javascript" src="NO JAVASCRIPT CAN BE USED HERE" />
So I am see'g If I can use eval todo something what I am doing
I have tried almost everything, following is being last one ....
<tr>
<a href="a1.shtml">
<td width=颼%'>
"+Testing+
</td>
</a>
</tr>
The problem here is the "hand" image which we see while hovering over a link is not displyed.
I am using jquery ajax and webmethods in asp.net(C#).i can display data..i only want pagination. can anyone have complete example?
View 2 Replies View RelatedHow can i return this innerHTML on complete?
deleteUser: function( id ) {
elm = $( 'user_' + id );
Effect.Pulsate( elm, {duration: 1, pulses: 2} );
Effect.Fade( elm, {delay: 1, duration: 0.5} );
[code]...
the fade works but i want to return the div to say deleted successfuly.
i'm trying to get to grips with Javascript for a Uni project, on this one i'm trying to show an image then replace that image with a .gif animation. Once the .gif has finished its animation once i want to replace it with a different image to the first.
the code I've come up with is running on a simple timer and loops endlessly, if anyone has any pointers that could help me or just tell me how to get my desired effect in a way i can understand then hopefully i can base my learning Javascript around that.
here is my code so far!
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="Javascript">
[Code].....
how do i code such that all gifs are loaded without missing any one of them ?
I always get missing few gifs when the page loading with 30 gifs.
I use IE6 to browse many <a href='myurl'><img src='mygif.gif'></a>
I'm looking for a solution to take an element value to an autocomplete event: (something like this, but it's not working)[code]the autocomlete works but I can't reach the "pid" element's value by this way in the getList.php
View 3 Replies View RelatedI want to use jQuery Autocomplete with a webservice as Source Webservice:
http://localhost/webService/AutoCompleteData.ashx
is providing following data:
...
[code]....
I am using jquery jquery-1.4.4.js and jquery.ui.autocomplete.js. My code is as follws but there is no autocomplete pop up appearing.
<script src="@Url.Content("~/Scripts/jquery.autocomplete.js")" type="text/javascript"></script>
<
[code]....
I am new to jQuery.I have a problem where I want to traverse through DOM.For example a complete webpage.Is there any jQuery way to traverse complete DOM of the current page where the jQuery script resides ?
View 3 Replies View RelatedI'm a stickler for not loading a ton of files, especially when they're javascript, so I chose to write my own horizontal news ticker. For what I need, I'm pretty sure I can do it with a much smaller footprint than a plugin.
Currently, I'm using overflow:hidden and position markers to make the div 'scroll off the screen'. Not sure if this is the proper way to do it, but it is working (for the most part). Here is the code I have so far:
var numItems = $('div.newspost').length;
var timeoutNews;
$('#news1').css({'left':'0px'});
if(numItems > 1) {
changeNews(1);
[Code]...
In firefox, the .css function never resets the div. However in internet explorer, it resets it before the animation completes and you can see the original shoot across the screen. I can watch the divs in firebug, and it never touches the style tag (almost like the reset function is never being called). I verified this by changing it to some other style, like font-weight:bold
I'm sure this is a silly 'gotcha', but it lost me when it worked (poorly) in IE 8. The idea is to have the appearance of a circular ticker. It loops well, but after the first run, everything just pops in from the left side.
Note: Don't run this too long in your browser without a limit. I'm new at jQuery and this script has no memory management whatsoever.
I have found a couple different code snippits that allow you to determine when a page has finished loading in an IFRAME. However, what I need is a way to determine this when it is a form that is POSTing to that IFRAME (which is on a remote web site).
Basically on my page there is a button that submits a form to another website and the target = the IFRAME. However, I don't want to actually display the content from the other site (and so the IFRAME is invisible). I just need to know when the submission is complete. As a user you can tell by watching the status bar in IE to see that the submission is still processing, but I'm looking for a more elegant way to do this (as I want to tie it into a mechnism that will visually show the user the status of the submission in real time.)
'm thinking that I have to learn how to work with cookies to do this but I was wondering if there was a variable type that might instead.. I have the following little test script...it works but only the first way...if I wanted to make this work both ways how would I go about it? I'm trying to figure out a way to create one of the little +/- buttons that can show and hide content.
[Code]...
I am trying to build a script, where the file references get added to an array when downloaded.
I have a slideshow so I want it the image references to be dynamically added to the javascript array. Any ideas how to do this? Is there an event which returns true when download complete
I've searched around for a while, but I can't seem to find the syntax to do this, assuming there is one. I have a page that allows users to print out maps generated by mapquest. If the user clicks the "Print" button (the one on the page) before the page has finished loading the maps, the print-outs will have errors appearing on them. I've been talking with MapQuest about the issue, and I don't think it's anything they can fix on their end. What I would like to do is create a script that unhides the "PRINT" button only after the page has finished loading. Something like this:
Code:
if (pageloadcomplete) {
//unhide print button
}
I assume there's a way to do that in Javascript, but i can't find the syntax anywhere.
I am trying to submit a JSP page .
I will describe in short the scenario so that it would be clear.
The Scenario
I have some input elements made up in a html component on JSP page.
The table has many <tr>. These <tr> have been given ids, for e.g. <tr id="1">.
Now I am trying to pass a comma separated list of these tr ids to server side code or Servlet.
The comma separated list is formed with looping some logic on submit of JSP or more specifically a form.
The Problem:
When I submit the form sometimes I do not receive the comma separated values mentioned above at server side code.
This happens occasionally. Now when I put some delay through Java Script like setTimeOut() I do not face the issue.
Is Java Script behavior a bit non-sequential sometimes?
I was wondering if there was an event thrown after the twitter items are generated on the page. There is an example here. I cannot seem to get the li items to change after they are loaded. I have tried using .ajaxComplete, but it doesn't seem to be working. Does anyone know what events are thrown after the above code, and that doesn't need user input? You could you alter the above code and fork your own version. For ideas on examples that could be created; you could change all spaces to periods or periods to exclamation marks.
View 5 Replies View RelatedI want to be able to send my whole form using jQuery ajax.The reason I want to send everything is that I have a lot of dynamic fields generated depending on choices the user does in the form and before the form is generated.
View 2 Replies View RelatedI've been playing around with some means of testing image loading, and noticing that the "complete" property seems to default to true. Trying the following in the squarefree javascript shell:
I = new Image();
I.complete
yields "true".
Seems a bit odd -- obviously there's no src given yet, so is it really complete? Is this behavior defined that way on purpose? If so, what's the justification?
I am using autocomplete with scrollbar for my textbox. Autocomplete for touch screen and browser(ie8).I can scroll up and down using the mouse wheel but i want to Use the mouse button to scroll up or down by dragging the scroll bar. if i use mouse button it moves the focus away from the text box field.Autocomplete is working only when using the keyboard not with the user defined keys.
View 1 Replies View RelatedScenario:I have ahtml page with a link to a php page that creates a pdf that is downloaded to the users computer with the header:
header("Content-Type: application/pdf");header("Content-Disposition: attachment; filename="file.pdf");etc
When I click the link on the first page I have a message (modal) showing "Generating pdf However I can't find a way to have this message/modal disappear after the file has been downloaded.