Hey Guys,
I've got the following HTML form. As you can see it's saving a file.
<form enctype="multipart/form-data" action="welcome.php" method="post
"onsubmit="return validateFormOnSubmit(this)">
<b>Name</b><br/> <input type="text" name="fname" />
<br/>
<b>Description</b><br/> <TEXTAREA NAME="description" COLS=40
ROWS=6></TEXTAREA...
I have two elements "src" and "dest"
"src" and "dest" are in different DOM-nodes, that can not have the same parent.
I need to place "src" element in the same visible position, as "dest".
"src" element must also have the same sizes, as "dest".
I have following code for case, when "src" and "dest" having the same parent:
src.css(...
I am currently using FireBug to see how hypem delivers it the content to allow its flash player to work (specifically the play button functionality). I have found that the trackList variable is populated with the data but I do not know where it is set.
How can I track when / where this collection is modified? I can add a watch to it bu...
I tried this,
document.getElementById('<% = ListBox1.ClientID %>').options.length = 0; what this does is clear my items of my listbox.. I simply want to unselect the selected items.. Any suggestion...
...
I'm trying to create a navigation menu for what I expect to be an extremely long page. I'm using internal links to make it easy to get from one section or another, but the page is designed for users to scroll up and down the page quite a bit in one session. I found that internal links aren't enough to orient the user with their location ...
Lets say I have a javascript function call moveItem which takes two parameters source and destination.
I want to assign this function the the click-event of several buttons, each having different source and destinations.
OK, so without the parameter I would do something like this:
$('#myButton1').click(moveItem);
function moveItem() ...
Javascript is a powerful language but I can't get it why there are several ways to OOP, don't you think that it is adding a frontline barrier for new developers which have to work harder to master the libraries?
...
I am trying to extract an article ID from the following href:
/MarketUpdate/Pricing/9352730
I just want to extract the ID at the end of the string and am using the following code:
var $newsLink = $(this).attr('href');
var $newsString = $newsLink.substr($newsLink.lastIndexOf('/'));
However this returns the final '/' which i...
Hi Everyone:
I'm trying to disable a button inside of a form region in Oracle Application Express (Apex v3) in an ajax-ified manner. I'm using jQuery to accomplish the ajax part.
$('#P16_MYBUTTON').hide();
Doing a view source on the rendered page I noticed that the button doesn't have an ID even though in Apex I've given it a name...
hey there
i am using ajax to load pages into a div
the page is loading fine
but i cant run the php and javascript
in that loaded page
in server i am loading the page like this
file_get_contents('../' . $PAGE_URL);
in the browser i am setting the content of the div
using
eval("var r = " + response.responseText);
and setting ...
Hi,
Hoping someone can assist with this Accordion Menu plugin that I am playing with, specifically example 3: Non-accordion (standard expandable menu).
see:> Accordion Menu
I am basically trying to use the example 3 option of this accordion menu by where I have 5 menu options, where two out of the five have sub-menus and the other thr...
I am looking for wysiwyg designer that creates applications in html 5 (based on any major JavaScript library like JQueryUI or other).
So far, the only thing I found is Ext Designer:
http://www.sencha.com/products/designer/
but it is still in very early stage and with serious limitations (custom components can not be added to toolbox fo...
hi my dear friends :
why the below alert always shows me null?
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Keyup._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" ...
I am integrating Highrise into a Google Chrome plugin and have issues with a XHR responding xml.
I am pretty positive that Highrise
API doesn't return a JSON.
I have a XHR in "background-script" , then I pass the result into "content-script" with a
chrome.tabs.sendRequest(tabId, {
data :data });
and here is the issue I ne...
Is there a way to reporting with javascript to generate pdf file?
...
Hi,
I am not sure if this is possible but hoping that it is through the use of jQuery/javascript.
Basically, within my website I'm going to have a page where the owner of the site can add and remove images that will be say in a two column table inside a DIV by where column one will hold and image and column two will display a short des...
I have a select element that shows multiple options with the same text:
<select name="tur" id="tur">
<option value="1">a</option>
<option value="2">a</option>
<option value="3">a</option>
<option value="4">a</option>
<option value="5">b</option>
<option value="6">b</option>
...
Is it possible to detect HTTP cache hits in order to calculate a cache hit rate?
I'd like to add a snippet of code (JavaScript) to a HTML page that reports (AJAX) whether a resource was available from a client's local cache or fetched from server. I'd then compile some stats to give some insight on the effects of my cache tuning. I'm p...
I've been using this script
http://jquery.malsup.com/cycle/
And using the "Fade" transition. (Top row of the page on the right.) I need to edit the script so that the image fades all the way out to a white background and the next image fades all the way in. Right now they're sort of fading into each other. I've looked over the page and...
I have 50+ textareas that I am using tinyMCE with. Instead of loading each one I am just initialising them, then activing them later on request
Initialisation
tinyMCE.init({
mode : "none",
theme : "advanced",
theme_advanced_buttons1 : "",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced...