Hello all,
I have multiple links in a page. When I click a particular link I want a div which contains the details of that link and hide all other divs associated with other link in the same page
Please find a solution may be using javascript.
...
i Have downloaded TinyMCE and running examples. When i run any example and click on html button of TinyMCE GUI i am getting js errors
Permission denied for <file://> to get property Window.tinymce from <file://>.
and
this.params is undefined
Check these errors in Firefox while opening firebug.
...
I am using JavaScript mouseover and mouseout events when I move my mouse very quickly the events are not triggered. Can you tell me what the problem is?
Please let me know how to solve this. Also let me know if anything else is needed.
Here is the code
HTML
4 => qq[
<ul id="primary">
<li id="firstTab" onmouseover="change...
Hi I´m working with a form and want to use jQuery BBQ Plugin for saving history records for the user. The form is divided in two divs like this:
<div id="step-1">
<form>
some inputs...
<input type="button" id="next" value="Next »"/>
</form>
</div>
<div id="step-2">
<form>
some more inputs...
<input type="submit" id="submit" value=...
hi ,
i am having the link like
<a href="http://twitter.com/home/?status='.$markme_ddesc.'" onclick="OpenPopup(this.href); return false">Click Here to See Popup</a>
for bookmarking the article clicked to twitter .. The above one just add the articles message to twitter.. But i am trying to add my article link also to twitter,..
so i a...
I used to be able to do this to create an exported HTML page containing some data. But the code is not working with the latest version of Google Chrome (It works all right with Chrome 5.0.307.11 beta and all other major browsers).
function createExport(text) {
var target = window.open();
target.title = 'Memonaut - Exported ...
For example if I assign
var n = document.getElementById('A').childNodes.length;
And then later append a child to A, would n update itself or would I have to assign it the new length again?
...
I am developing an application using J2ME to send the GPS coordinates received to the server and i am new to developing client server application.
Everything works fine with the use of Nokia N97mini or E71. But when i tried it on HTC HD2, i get the exception from the server. I am using Netbeans 6.5.1 GlassFish V2 as Server. I have no id...
I would like to check a large number of HTML files with inline JavaScript for JavaScript errors. What I'm envisioning doing is this: Script a browser to load a given page, wait a few seconds, and finally check the browser logs. I'm unsure though both on how to script a browser to load a given page and on how to access the JavaScript erro...
In my Java Script , I want to call a java method . Is it possible to call a java method by js w/o using ajax?
...
I have a bunch of characters which are encoded in the form %XX%XX. How can I display the actual characters with Javascript?
Examples of the characters are...
what I have / what I want
%C5%93 / œ
%C3%A6 / æ
%C3%9F / ß
Thanks for the help!
...
I have a dropdown list with a piece of code that is run when the value is changed:
<select name="SList" onchange="javascript:setTimeout('__doPostBack(\'SList\',\'\')', 0)" id="SList">
Everything works fine when manually done. As an option is selected, the onchange code is called.
The problem begins when I try to change the selected v...
Hello everyone! Is it possible to load an html document into a DOM javascript object so that you can read the elements in the document? For example, if I have a file on the server Test.html. Can the page Hello.html call javascript code to load Test.html into a DOM object?
Please let me know.
Thanks
...
HTML:
<a href="#" rel="tooltip">Open Tooltip</a>
<div id="tooltip">Tooltip Content</div>
I checked out some tooltip plugins but my requirement is a really basic tooltip that shows a hidden div on hover. All plugins either have too many advanced options that I don't require and have already styled tooltips that might be difficult to mo...
I'm hosting a little site using a JavaScript to draw a simple graph. It involves one html index file, some css and some js files.
It has all been working perfectly on two different apache servers, but when I set up IIS 7 the ajax calls fail. I get no java debug errors in firefox that I can work with, or any kind of error message at all....
window.addEvent('domready', function(){
$('detail_block_table').addEvent('click', function(){
if ($('detail_showDiv').getStyle('display') == 'none')
{
$('detail_showDiv').setStyle('display','block');
}
else
{
$('detail_showDiv').setStyle('display','none');
}
});
});
...
HTML:
<a href="#" rel="tooltip-1">Open Tooltip</a>
<div id="tooltip-1">Tooltip Content</div>
jQuery:
xOffset = $('#tooltip-1').height() + 10;
yOffset = -30 ;
$("a[rel=tooltip-1]").hover(function(e){
this.t = this.attr("href");
$("body").append("<p id='tooltip'>"+ this.t +"</p>");
$("#tooltip")
.css("top",(e.pageY ...
I have a website that I wish to load in a UIWebView, but it is full of images and takes ages to load. The images are useless, and only serve to reduce the usability on the iPhone. I dont own the website so I cannot change the site's actual code.
The webpage is heavily linked in to the web with ASP.NET and AJAX (needs external files), so...
i am showing ckeditor in jquery simplemodal. But it always show empty ckeditor window, although there is some text in textarea on which ckeditor is defined. How to show text?
...
How would I make the window snap to the top of the page on an event in jquery?
...