Hello! My problem is that I'm using the CKEditor 3.4 plugin for jQuery, and it's giving me an error in IE 7+8 when executing a $(selector).val(html) call on the editor:
The error:
'this.$.innerHTML' is null or not an object
...which when run in the debugger, points to this line of code in the huge CKEditor.js:
getHtml:function(){var ...
I have an HTA that loads up an external webpage inside a nested IFRAME. This webpage (which I don't have control over) throws an "Access Denied" error in my HTA asking the user if they "want to continue running scripts on this page". What I want to do is have my HTA suppress all scripting error messages regardless of where they originate...
Hi, so simple question! How can I pass a variable into a jQuery function, like in Javascript?
<script type="text/javascript">
function foo(bar) {
$("#content").load(bar);
}
</script>
<a href="#" onClick="foo('test.php');">Load</a>
The above code doesn't work, clearly, but hopefully you can get an idea for what ...
I have 'n' number of javascript functions in javascript which nearly gets an element and sets its display property.
function ShowDivforassignclick() {
document.getElementById("FollowupDiv").style.display = 'block';
document.getElementById("datatable").style.display = 'block';
}
function HideDivforassignclick() {
document.get...
I'm in the process of learning Javascript and I'm trying to create a simple dropdown menu.
An example of my desired functionality can be seen on the google homepage in the top menu with the "more" and "settings" dropdown.
I have a ul that is set to display:inline using the onclick() JS event handler. How do I make the ul go back to dis...
Hello,
I have a canvas with some irregular shape drawings in it, and I would like to have a feedback when someone clicks on a specific one?
I've been looking everywhere for this and have only found solutions for rectangle.
I think it may have to do with isPointInPath(), but I've yet to find a concise explanation on how to use it.
An...
I have a variable containing a string "Y.Plugin.abcd" and I would like to access an object with the same name...I'm using YUI 3 and attempted the Y.namespace method with no luck.
var nm = "Y.Plugin.abcd";
Y.log(Y.Plugin.abcd); //outputs the correct object
Y.log(Y.namespace(nm)); //outputs an empty object
I'm pretty much looking for ...
Hi folks,
I have some MultiPolygon data (The USA state of California) which I'm trying to display on a Google Map (v3 Javascript API).
The link to the data is here on CodePaste.NET. (Note: I pasted it there because the data would spam this post).
So I've tried to make it into some Json data .. and then display that MultiPolygon on a g...
I have an html page. Here, I am using tabview of Yahoo API. That is :
<div id="demo" class="yui-navset">
<ul class="yui-nav">
<li class="selected"><a href="#tab1" onclick="TopStories()"><em>Top Stories</em></a></li>
<li><a href="#tab2" onclick="FinanceNews()"><em>Finance</em></a></li>
<li><a href="#tab3" oncl...
HI All ,
I am submitting a form for file upload to a servlet but i dont know how to send a success event back to java script , actually i need to call a function after the servlet is successfully executed . Please help me to find out possible approach .
...
I have given the permission in manifest file, though when I try to make XHR to https://wh2.sibers.com I am just getting a xhr.readystate = 4, xhr.status = 0;
I can do XHR request just fine from the console(under the wh2.sibers.com page of course). Anybody has a broader knowledge in this things please show me the direction, thanks
...
I'm in the process of learning Javascript and I'm trying to create a simple dropdown menu. An example of my desired functionality can be seen on the google homepage in the top menu with the "more" and "settings" dropdown. Specifially the click off the menu and the menu disappears.
Maybe onblur() isn't the correct function to call. I d...
Please i have asked this question before, hopin to get responses this time
I created a simple comment wall that submits using ajax.
Using javascript i collect user input:
var sharetxt = encodeURIComponent(document.getElementById("cw_share_txt").value);
then pass it to a php page, on the php page, i collect the passed data:
$text=n...
Hello,
I have multiple buttons in a form (all are type 'submit'). I would like to determine which one of them is clicked. I am currently using:
$(".MyForm").click(function() {
...
}
to get values from my form. Any help is greatly appreciated.
...
Hi i am using this code to get this path : http://192.168.1.5:83/staging/eleave/application/view/leave_approval.php
var url = document.location.toString();
Question is how to get this path only? : http://192.168.1.5:83/staging/eleave/application/
...
Javascript CSS issue:
I am using a textarea box to write to a div. I get the textarea box to do this by using the following javascript:
<script type="text/javascript">
function process_input(){
document.getElementById("description").innerHTML = document.getElementById("message").value;
return true;
}
</script>
I style...
I just have a link :
<tr><td align="center" height="10%"><a href="https://login.yahoo.com/config/login_verify2?.intl=in&.src=ym">Mail</a></td></tr>
while clicking on it, it will shift to the pave http://login.yahoo.com, but I want the page open in a frame that pops up on this page & the inner display is target...
The problem is mostly summed up in the title.
The website is located here: http://tinyurl.com/3abbcsr
I am using the custom radio/checkbox code from accessible_custom_designed_checkbox_radio_button_inputs_styled_css_jquery/
This is the jist of their code (I modified it to allow defining different style depending on the label's title...
Hi,
Thanks for your attention and time.
I'm modifying an existing JavaScript but can't understand a line of code. Please help me understanding this line:
rowArray[i].value = rows[i].getElementsByTagName('td')[sortOn].firstChild.nodeValue;
I am clear till .getElementsByTagName('td'), sortOn is being passed in this function as a para...
I am passing string to a function but its giving me an error :
assignAttr(var menu="menu", var container="menu_container",var text="menu_text");
function assignAttr(menu,container,text)
{
alert(menu + container + text);
}
...