Hello,
I have been struggling with getting this work on Firefox. Hope there is somebody help me!
Basically; Firefox ignores the button click function and it's sub functions and the button posts the page instead of running the jquery code.
It works on IE and Chrome but not on Firefox.
Thank you for your help in advance.
Here is the ou...
I just upgraded my ckEditor, and it's added a few options I don't want right now.
Of them are to browse images from files rather than just include them as urls. How do I remove those options?
...
In jQuery, it is easy to select elements as array.
$("a"); // return as elements array of anchors
But is it possible to select matched elements' attributes as array?
Currently I need to do something like...
links = [ ];
$("a").each(function() {
href = $(this).attr("href");
links.push(href);
});
Are there any b...
We have a requirement to encrypt data client side to ensure a 'secure' channel exists between our client's browser and a vendor.
Basic premise is:
Vendor generates a public / private keypair: VendorPub and VendorPriv
Our clients enter sensitive data.
On submit the javascript on the form encrypts the sensitive portions of the data, wh...
Hi,
Looking for a simple example of how beautytips can be used( HTML + CSS included)?
My requirement is this - I am displaying product names.On hovering of product name,I want to display products image in the tooltip.How can I do this?
thanks
...
When I double-tap near the edge of a page that exceeds the height or width of the browser window in Safari under iOS4, it zooms in or out and/or scrolls up, down, right, or left, depending on the size of the page and the current viewport position. How can I prevent this behavior, please?
I'm working on a site where this is (very) bad; ...
This code works:
$(this).load($('.pageloadlabel', this).attr('href'), {category: 1});
This code doesn't work:
var data = '{category: 1}';
$(this).load($('.pageloadlabel', this).attr('href'), data);
The question is, how can I make it work? Thank you.
...
Say I have 2 links a1 and a2, and a2 is hidden. When the user clicks on a1, I want to simulate the clicking of a2. How can this be done with jQuery?
...
THe Bindings for the GTK library in Javascript maintained by Gnome, are they asynchronous or synchronous calls? I have not been able to find details one way or the other.
I would like to develop a NodeJS module for GTK for desktop app creation.
...
Hello
I am trying to set text when loading a php file... I am doing somthing like this:
<?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?>
<?php
echo "<script>
var a = document.getElementsByName('enquiry');
a.value='Pedido de Informação de Preço, relativamente ao producto: http://www.musicland.pt/musicstore/product_in...
Let's say I have this line somewhere in my code:
<ul id="mobileBtnsBot">
<li>
<a href="/m/alert/index.shtml"><span class="alertsBtn"></span><span class="btnText">Alerts & Advisories</span></a><div class="button_last"></div>
</li>
<li>
<a href="/m/alert/index.shtml"><spa...
I'm working on a project that requires my user script be run on pages as they are rendered without executing any of the page's JavaScript. That is to say, we need to browse with JavaScript disabled.
I've encountered a problem though when I try to delay execution of a function within my script. Whenever I make a call to window.setTimeou...
I have a blog where people can post their comments. My problem is that I need to enable people to be able to use math formulas using latex syntax. I cannot make any changes to the server. I can only embed a script in my HTML page.
Kindly help.
...
Issue: My jqGrid pager shows Page 1 of NaN instead of the correct number of pages.
Fiddler shows that I am getting the correct json from my WCF call:
{"total":1,"page":1,"records":2,"rows":[{JDEVendorNumber":99999999,
"VendorName":"Super Vendor","BillID":"99999999wwerer ",
"CommunityName":"Post Abbey ...
Hi, want somme help, thank you by advance. I've two page aspx, the first is the main page containe an updatepanel in which I call the second page as popup. I need a way for update the updatepanel (in main page) from the popup.
Thank you for you precious help.
I call popup as this follow in javascript:
this.showUrl = function(url) {
...
I have an application that spans several pages of engagement for the applicant and I don't want the user to abandon prematurely.
Without hijacking the back and forward buttons (I think most of this forum would agree is a bad practice) I have a set of eventhandlers leveraging onbeforeunload that handle some of the typical use cases wher...
how to generate embd code/blgger like widget with CodeIgniter? please give me the idea how to make
...
Hey everyone,
Currently we have a table with a bunch of data from a database which the user can "check" symbolizing that they use this content. This is also prepopulated such that if it is a returning user, the things they submitted before are checked onload. Since this list of data is long, it is hard to tell what data has been select...
I am using this in a Firefox extension and can't get it to work.
var allLinks = document.evaluate(
'//a[@href]',
window.document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
null);
window.alert(allLinks);
This alerts "[object XPathResult]". However the following always returns "0". (And...
Here is an example page: http://vincent-massaro.com/modal/modaltest.html
I am trying to have a window open with Jquery when a link is clicked, but delay the popup so that a message is first displayed before the popup happens. As you can see from the example the window.open happens not on the click, but on the fade, so this triggers a po...