I have a form on my website (http://www.jakelazaroff.com/#contact) that I submit with jQuery. The callback function for when the form is successfully submitted is supposed to make the form fade away; however, for some reason this only works on certain browser/OS combinations. Right now, the compatibility list is as follows:
WORKS
o f...
is there a way to do this? I'm not looking for an alternative plugin (like FancyUpload or Uploadify), I just want to know how I can ajaxify the submission of an upload form.
...
I have a function that looks like this:
jQuery.fn.menuFunc = function( settings ) {
settings = jQuery.extend({
actionAddURL:"",
actionModifyURL:"",
........
},settings);};
where all the parameters i initialize (actionAddURL, actionModifyURL, etc..) are strings (ids of different elements...
Hello,
does anybody know such a problem, window.open()do not work with Firefox suddenly.
<a href="javascript: void(0)"
onclick="window.open('popup.html',
'windowname1',
'width=200, height=77');
return false;">Click here for simple popup window</a>
this always open in a new window (or a new tab), but not open in a popup ...
Now I'm able to create joomla templates (even this last one that is giving me some headache, but the problem is with IE6 and the css...) and then comes the question how do I create a drop-down menu without installing a module and/or component?
actually that is not only my problem! there are a lot of people asking the same thing all over...
Hi Guys,
I am about to begin a project that requires an amount of JS. I was having trouble deciding what JS library / framework would fit best. So I thought I would float the question here.
Specifically, which of your favorite features does one framework implement which the other one loses out on? Are there any conceptual reasons why y...
i have this menu in javaScript:
menu[1] = {
id: 'menu1', //use unique quoted id (quoted) REQUIRED!!
fontsize: '100%', // express as percentage with the % sign
linkheight: 22, // linked horizontal cells height
hdingwidth: 210, // heading - non linked horizontal cells width
// Finished configuration. Use default valu...
I have a web page which is fetching new content (AJAX).
If the page does not have the focus (eg. Minimized, or you are on another browser tab) I want to change the title of the page to display how many new comments have appeared.
When the user gives focus back to the page I want the title to remove the message.
The activation of the p...
i wanna fire a JavaScript function when clicked on a button.
This JavaScript should fire only after the page does the xval validation.
...
Hi,
i would like to pass multiple parameters in my callback function and don't know who to do this...
This would be the C# code:
Response.Clear();
Response.ContentType = "text/plain";
Response.Write("content of param1");
Response.Write("content of param2");
Response.End();
and the JS code:
...
Hi there,
I can use, for example, something like
<object id="MediaPlayer" width="300" height="50" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Live Player components..." type="application/x-oleobject" CODEBASE="http://activex.microsoft.com/activex/controls/
mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
to...
If page has .pdf files linked then a message in <p> should be add just before end of the #mainontent div as a last paragraph <p>
for example this is default html?
<div id="maincontent">
<ul class="cheat_sheet_downloads">
<li><a href="http://www.addedbytes.com/download/css-cheat-sheet-v2.pdf">PDF, 316Kb</a></li>
<li><a href="http://...
how to get the contents inside a div along with all html tags along with values present in text box etc tags .
The jQuery function $('#divid').html() is working in IE but the firefox i am getting the html but the values which are in text area and text box are not setting.
Thanks,
Shriniket
...
Code:
function Customer(name){
this._name=name;
};
Customer.prototype.init=function(){
$('#SetCreditLevel').click(function(){
//best way to access this._name ?
//this now points to DOM element
});
}
...
I've got several editable divs. I want to jump through them by pressing arrow keys (38 and 40).
Firefox 3 on Mac OS and Linux won't repeat the events on holding the key. Obviously only keypress events are supported for repetition. As the keys 38 and 40 are only supported on keydown I'm kind of stuck.
...
Hi all,
I have an html page, and I would use Google Translate for translate only a div into my page.
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'it'}, 'google_translate_element');
}
</script><script src="http://translate.google.com/tr...
I am having 3 iframes acting as a textbox. And 3 divs in which the text written in iframe will appear it is working. I used drag Resize script also for Resizing Div. it is also working. The Problem is that when i am typing something in iframe, then I can't Resize div. Please Provide solution for it. I am stuck up with this problem. or gi...
When I do $('div#tborder').html() I get following:
<DIV id=tborder style="BORDER-RIGHT: #000 1px solid; BORDER-TOP: #000 1px solid;
DISPLAY: block; FONT-SIZE: 12px; BORDER-LEFT: #000 1px solid;
BORDER-BOTTOM: #000 1px solid; FONT-FAMILY: Arial;
TEXT-ALIGN: left" sizcache="9" sizset="124">Some Text </div>
See the additional sizcache...
Hi,
I have a div, where in i do have a ul, where the ul has some li.
i just want to find some text and remove the li from the ul.
suppose eg:
<div id="div1">
<ul>
<li>Hello</li> <!--i need to remove this.-->
</ul>
</div>
...
How to assign events to iframe in javascript? Thanks in advance. I want to assign Keypress or keyup or click events.
...