i have a html page main.html and it has a frame frame1 in which i am showing another html page child.html so basically child.html is the child of main.html and i want to change the value of text box which is in child.html after clicking on link which is in main.html. how can i do this?
...
hello
im trying to develop an standalone application with qooxdoo. i want to load each part
of GUI with PartLoader. i just want to load big group boxes when the user select the related menu item from the menu. but when i run the code (execute the part loading related function)
i got the error "arguments.callee.base.call is not a function...
I want to make a scrolling menu just like this site : http://www.dsebd.org/, the menu which is scrolling horizontally from right to left.
This menu needs to be updated, say, every 20 or 30 seconds. I want to make this menu as light as possible. I was thinking about using jquery, but since I am a beginner I don't know how to use it, or e...
I have the test code below. I was expecting Firefox to display the first image, execute the delay and suspend the retrieval of the second image then display "Hello" and the second image.
Why is it displaying everything at once after the delay?
UPDATE: I need to add more clarification. I am NOT trying to write production code. I read th...
When I refresh the page below in FF 3.0, I expected the web page to clear but it didn't.
Why doesn't document.body.innerHTML = "" clear the page?
UPDATE:
I am trying to clear the previous screen during a refresh while the new page is loading. I actually want to see the page clear, wait and then the next js running. I don't want to clea...
Hello,
I've got a simple form with some textboxes. These textboxes all have a RequiredFieldValidator. If field 1 is filled in I need to disable the RequiredFieldValidator of field 2 because only one of these fields is required. What is the best way to accomplish this?
...
Hi,
I have a page with frame in it, the left side being a jsf form and right side is an applet. The actions on the jsf form on the left cause the applet to refresh from time to time (e.g on a button press on form). The problem is that since the jsf page renders before the applet finishes it's refresh, the applet steals the focus from t...
I want to add and repeat title="some text" same as alt="some text" if title is already not present. To show Alt text in FF also.
before
alt="some text"
alt="some text" title="some another text"
After
alt="some text" title="some text"
alt="some text" title="some another text"
**I need *
jquery(with no conflict)
or simple javas...
Hi,
I have to re-write a few php pages in in Grails (don't ask why!). I have never done any php, so it's proving a little tricky.
Basically I have a html page which has a function in it that is executed every 60 seconds, and that .js creates a new XMLHttpRequest which then does xmlHttp.open("GET", "myphpfile.php", true);
I can get...
What are the Javascript functions or libraries that are equivalent to Ruby's pack and unpack functions for the Array class? I'm particularly interested in converting hex strings to strings.
irb(main):022:0> ["446f67"].pack("H*")
=> "Dog"
I'm not a javascript programmer and would rather not roll my own converter if libraries are availa...
If the user happens to have a delay in connecting to my site, the ajax hasnt timed out and the user decides to close the window. The ajax query will be terminated? Is there a way i can say still processing are you close you want to leave this page? (bonus if it will close once ajax was successful). How do i do this?
I am not sure if thi...
Is it possible to pass a JavaScript object from JavaScript to Java using addJavascriptInterface()? Something along these lines:
var javaScriptObject = {"field1":"string1", "field2":"string2"};
JavaScriptInterface.passObject(javaScriptObject);
How would such a call be captured on the Java side? I have no problem setting up the interfac...
Hi guys,
i need to find few words or matching pattern using a Javascript.
this is the requirement.
i have a string like this,
Here is a quick guide for the next
time you reach for your favorite oil and some other topics
and i need to match this string against a string like this
favorite oil and some other topics can be based...
i just want to be able to call a javascritp subroutine on the client, after the server has done its thing (when an action completes or control goes to the view, i'd dont mind calling the js from the view either).
for some reason, even vs2010 doesn't let me put breakpoints in <% ... %> tagged areas between <script...> and </script> tagg...
hey guys as u know there are lots of ways to compress a JS file such as Packer YUI and ....
but how can we decompress them
so many times happened to me that i did compress a file and i lost the source file
plz if u know any software or method give me a hint
...
I am trying the create the following
var employees = {"accounting": [ // accounting is an array in employees.
{ "firstName" : "John", // First element
"lastName" : "Doe",
"age" : 23 },
{ "firstName" : "Mary", // Second Element
...
I have a sign-up form which prompts for the first name, last name, username, password and e-mail address. I'm using two separate $.get() methods to check if the username and e-mail address are not existing.
This is my function:
function validateSignUp() {
var firstName = $("#first-name").val();
var lastName = $("#la...
Hi and thanks.
I have the following functions:
// NATION
var x, y, z;
function flag(nation,area)
{
x = nation;
this.nation=nation;
var el=document.getElementById("desc");
el.innerHTML='The region you have selected is <b>'+area+'</b>';
document.getElementById("flag").innerHTML='<img src="images/flags/'+nation+'.jpg">';
}
// SERVICE
func...
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<%@ Import Namespace="System.Text" %>
<%@ Import Namespace="System.Xml" %>
<%@ Import Namespace="System.IO" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...
Overview
I'd like to hear feedback on my approach for internationalizing an AJAX application. Is this a sound approach? What kind of other approaches would be worth considering? Here's a summary of the app:
AJAX app running from a single HTML page generated server-side with i18n
HTML page imports JQuery and plugins
Uses XHR to load se...