Hi,
Is it possible to refresh parent page from child's child page using javascript.
I have a webform which opens a child window, a button on child window closes the present child window and opens a subchild window. Now a button on subchild should close the window and refresh the parent form.
Please suggest me the way of doing it.
Th...
I'm writing a simple editor in an iframe, but having trouble registering the "oninput" event to detect when the user modifies the text field such as pasting in data etc.
var txtArea =
document.getElementById('txtArea');
txtArea.contentWindow.document.designMode="on";
txtArea.contentWindow.document.open();
txtArea.co...
I want to set a text box with a date (in dd/mm/yyyy format) 14 days ahead to current date in javascript . can any one help me regarding this ?
...
I'm using a content slider plugin that is nice but lacks one important feature: does not stop auto-rotating slides on mouseover.
Here's the relevant part from the script:
var dotimer = function (x){
if((opts.auto) == true) {
if(timer != null)
clearInterval(timer);
timer = setInterval(function() {
...
This happens about in about 40-60% of loads, both in FF and chrome, though slightly differently. I'm somewhat new to js, and have no clue to why this would happen randomly. Any ideas?
Here's one readout, they vary.. Usually jquery-min and/or jquery ui are listed as culprits..
Uncaught SyntaxError: Unexpected string
:3000/public/javascr...
Hi,
I have the following code that I want to return to a variable "t" in javascript:
Code behind:
Public Shared Function GetSomeText() As String
Dim result = "This is from code behind"
Return result
End Function
Caller variable in javascript:
//This is not working like that, I think
var t = GetSomeText();
So, how can I ma...
I have an array where the order of the objects is important for when I finally output the array in a document. However, I'm also sorting the array in a function to find the highest value. The problem is that I after I run the function to find the highest value, I can't get the original sort order of the array back.
// html document
va...
According to Wikipedia, IE8 only supports Javascript 1.5. So they are saying IE8 completely ignores Javascript versions 1.6, 1.7, 1.8 and 1.9.
Should i trust? Is it true?
thanks
m.
...
I have a problem as I'm conditionally including the Prototype-based Lightbox script for IE6 as it works better than the jQuery plugin.
Of course the two libraries conflict but the official solution is not really feasible for me as i would have to replace tons of $ with the alternative no-conflict syntax.
Is there any other solution for...
Hi all.
I've some data that i'd like to publish just on one website, ie. it should not be reused on other websites. The data is a set of numbers that change every day, our journalists work to get hard gather it.
Is there any way to hide, crypt, etc. the data in a way that it cannot be reused by others? But to show it in a graph in the ...
Hi There,
I have an an ajax request that looks like this,
$('input.fakecheck').click(function(){
alert("deleteing....");
$.ajax({
url:"/search",
type:"POST",
data: $(this).attr('name')+"="+$(this).attr('value')+"&remove=Remove",
success:function() {
alert(data);
}
})
})
This calls a php function which l...
JsHelper cant to use in elements ? I try use it (JsHelper) but not work.
And one other question: was AjaxHelper deprecate in cakePHP 1.3 ?. I read document but dont see notice, i only see JavascriptHelper was deprecated.
...
Im trying to display a loading gif before submitting a multipart-form (file upload), this is my code.. but the image is not displaying.. if i remove the submit() it displays, so.. is not a path or syntax problem.
$('#btnSubmit').click(function() {
document.getElementById('loader').innerHTML = "<img src='<?= url::base() ?>themes/img...
I am trying to create an audio watermarking system. I figure the best solution is to create an audio file (WAV) based on a unique string of text and then combine this with the original wav.
The part that makes this tricky (for me anyway) is:
How do I convert the text string to a wav?
How do I ensure that the resulting WAV form is inau...
I've been using HTMLAREA for quite sometime, but it's so iffy, I think it is time to change. Suggestions welcome
Thanks,
...
I have a page with two frames, and I need to (via javascript) copy an element and all of its nested elements (it's a ul/li tree) and most importantly it's style from one frame to the other.
I get all the content via assigning innerhtml, and I am able to position the new element in the second frame with dest.style.left and dest.style.top...
have an array of values [1,2,4] representing the values of a multi-select box, how do i set them as selected using either jquery or plain javascript?
thanks for your help.
...
I'm trying to build a javascript bookmarklet for a special URL shortening service we've built at http://esv.to for shortening scripture references (i.e. "Matthew 5" becomes "http://esv.to/Mt5". The bookmarklet is supposed to do a GET request to http://api.esv.to/Matthew+5, which returns a text/plain response of http://esv.to/Mt5.
The co...
Is there a way to detect via JavaScript (client side) any AJAX requests that are occurring and even get the number of requests in progress?
The reason I ask: I have a global processing indicator in an application being worked on with several developers, some of whom neglect to start and stop the indicator when making AJAX requests.
I...
hi everyone, this is my 1st post here in this community forum, just would like to say "HI" to everyone.
i would like to share with you my experience in developing multiple dependency selection form developed in java script, how this script works is that when 1st selection is selected, based on the value the user select, a second level s...