I have a multi-frame page. The frames are named Frame_1, Frame_2 and
Frame_1 has a drop down box. When a value is selected in this drop
down box, Frame_2 is updated using an asp file (as I have to read from
a back-end access database).
In turn in the asp file, I have a Body onload tag to execute a
Till now this is working fine.
Here is the problem. Frame_3 has a form with a radio button. When a
radio button is selected, I want that a function be executed in
I know how to access parts of an xml file using xpath / xsl.
tName = "Mr Wallis"
var xmlDoc = new ActiveXObject("msxml2.DOMDocument.4.0");
nodes=xmlDoc.selectNodes("/school/teachers[name='" +tName+ "']/*")
but what I would like to do is change the name to "Mr Williams"
then I would like to delete it
Can anyone help or point me towards a tutorial ?
Thanks in advance
is it possible to implement Insert,view,update and delete using
i would like to do product search in the website which is burnt in CD
> is it possible to implement Insert,view,update and delete using
IIUC: Yes, search for "DOM" and "XPath".
> i would like to do product search in the website which is burnt in CD
What do you need "insert", "update" and "delete" for then?
While my question might be simple, the environment around it is
terribly messy and so I will try to keep this clear and simple by only
including the relevant code - however, as I will soon suggest, I worry
that the problem isnt in what would seem to be the relevant code but
instead is lost somewhere in the do-and-donts of the peripheral code.
So at the end, i'll try to include all the affected code and you can
see if any of its actually relevant. I know there is a lot going on...
sorry, but I tried to write this clearly.
So here is what I imagine to be relevant. I'm working with a page that
element (display=block;). The code is simple...which is why I cant
understand my problem. This function is being called by <body
var dropDown = document.getElementById("region");
var firstName = dropDown.name;
var fload = document.getElementById(firstName);
fload.style.display = "block";
// This is where it grabs the name value. "View Source" confrims the
values work, (eg. name="ZHT")
<select name="<%=Request.QueryString("lang")%>" id="region"
//This is one of the <li> tags
<li class="operatorLI" id="ZHT">
// Later for testing, I tried this (see below)
I've been working on this for over a week now, and just can't get this
figured out. Hoping one of you gurus can help me out here.
I have an xml data island that I'm representing on an htm page as an
expandable menu. Got that working, but now I need to add sorting and
searching abilities to the menu. I am hoping to do this with xsl but
can't get it to work.
Is this because of the way I've formed my xml, having the children
within the parent elements? Or is my xml alright but my xsl is mis
If you could help me figure out how to simply have xsl sort the list,
(<?xml-script...> or the like)
>| (<?xml-script...> or the like)
But seriously, XML is data only therefore can not run scripts.
there is a method to load js from js, e.g.
var script = document.createElement('script');
script.src = 'snip.js';
Guys, anybody know if is possible "to press" a button linked a
My Firefox send something like that:
POST /msgs.aspx TOKEN=B8B83BGDBC191B9FE0A0BE1393294FAB&sig=gpaiOqbp0Nr
python has modules for forms and other things... and for it?
Thank you for help...
>python has modules for forms and other things... and for it?
Check out httplib and urlib2, it might be useful for you.
I wounder if some one can help me i have to write a program that sums
numbe3rs together using a for loop.
The numbers are 1 to 10 then one to 20 then 1 to 10,000.
// A program for summing numbers from one to biggestNumber
Var theSum = 0;
its got to start like this. Im having problems with this one
Message posted via JavaKB.com
On Fri, 16 Dec 2005 11:27:29 GMT, "vicki via JavaKB.com" <u16404@uwe>
wrote, quoted or indirectly quoted someone who said :
Amit Patel wrote:
Stop using that stuff, it's bad for your brains. :P
"Amit Patel" <firstname.lastname@example.org> wrote in message
It also has it's own group..
If I have Options/ViewingMail/AllowExecutables unchecked does Eudora strip
"Bob Bailey" <email@example.com> wrote in message
> If I have Options/ViewingMail/AllowExecutables unchecked does Eudora strip
OK. I've answered my own question but that begs a new one. (Eudora strips
Having allowed Executables it only works if I open, not preview, the message
Cut'n'paste from "my" ticket 202 at www.ecomstation.com as they seem
to have come to a halt... :-(
Recenty I went from w4 fp17 to eCS 1.2. I get the odd behavior
Both boxes sees, and uses the same installations and user profiles.
Clean install(s) of both Moz and FF has been done several times.
Starting FF or Moz clean (no userprofiles), doesn't make any
The Weather extension i.e doesn't show it's 'mouseover' info, and it
o the following:
to hover over the city, he should change the city's image with another clea=
rer, and clicking in the city he should get a darker color than the picture=
when we hover.
Until there all right, but when I click it gets darker image and move the m=
ouse in another city he immediately removes the dark image and return to th=
e clearer picture.
How to keep the image when I click on it and still the effect of passing th=
I am trying to take an xml file as input from user and update the sql
database with this new data from the xml file.
Before going to the step of updating the data in the database, i want
to validate this xml file with the xml schema file that i have, to make
sure that the user has indeed provided a correctly formed xml, and that
the schema of the xml is correct.
Now i have searched for some examples as i am new to working with xml
files, all i get is samples for .net (xmlvalidatingreader).
Can you please give me samples that can be used in asp (not asp.net
This is a question about defensive web browsing. Ocassionally I
disabling it globally). It would be cool if there were some way
> This is a question about defensive web browsing. Ocassionally I
I would like to know if it's possible to clean up my scripts, or if you
will, 'make them biodegradable'. Some of my smaller script will be
download to the users browser, but I would like to clear them once I am
done, so as not to bog down the browser more than needed. I have tried
removing the script element, and/or setting the src attribute to null
and '', but the script itself still remains.
Here is some example code.
like i have an image and onClick i am calling a function sort_(str)..
Now i want to assign this value str to a session object in the same
but is there any way doing that??
document.ins_form.elements["Qry"].value = str;
when i click on that image and that function calls everything works
I have to perform a lot of editing of xml data on the
Which xml parser is better for accessing and editing xml
> Hi Friends,
> I have to perform a lot of editing of xml data on the
> the browser).
> Which xml parser is better for accessing and editing xml
Does anybody know how to get the text represetation of an XML dom as
I created a XML doc with:
doc = document.implementation.createDocument("", "records", null);
I'm also able to add elements to the dom, but when I'm finished I need
to get the dom as text representation (assigned to a string) so that I
can post it back to the server via xmlHttpRequest object.
Any ideas how to do this?
Frank Gruber wrote:
> I created a XML doc with:
> var doc;
I have an html form with a number of checkboxes that can be checked
confirm the delete.
My question is can I have the html form function normally if the user
involved in the
form at all then.
On Mon, 01 Nov 2004 22:53:57 -0600, neoconwannabe wrote:
> I have an html form with a number of checkboxes that can be checked
I know that I can do that by
I am exposing my main.js (which contains the above code) directly,
intending it to be used via cross-site scripting (xss).
In this case, the above code doesn't work. Because an external html
which is using my main.js will look for another.js in its local
I have to change 'another.js' to '<absolute path>/another.js' for it
to work. But now if I change the location of main.js I have to make
I've got a big string with some arbitrarily ugly HTML inside.
<script src="pippo.js" />
has got to go!
What's the best way to achieve this? RegExps? Tricks with
I am playing with the idea of looping on a StringBuffer and build
my own char-by-char logic...
On 13 May 2005 08:48:51 -0700, "luca" <firstname.lastname@example.org> wrote:
>I've got a big string with some arbitrarily ugly HTML inside.
Try HTML Tidy.
now with more cowbell
I need to do it programmatically and in Java. HTML Tidy is a
command-line utility and it's developed in C.
Am I missing something ?
On 13 May 2005 11:08:34 -0700, "luca" <email@example.com> wrote:
>I need to do it programmatically and in Java. HTML Tidy is a
>command-line utility and it's developed in C.
>Am I missing something ?
Nope. I missed the part where you said you needed to do it
now with more cowbell
"luca" <firstname.lastname@example.org> writes:
simply output the result right backing the <script> code block? I
would like to use this to help populate my "You Are Here" status block
on the following page:
GoGoGulfcoast.com said the following on 2/17/2008 8:59 PM:
> simply output the result right backing the <script> code block? I
I'm creating now a site which is using heavly AJAX and what comes with
are used only once (mainly to load new content by sending request to
server and by using DOM editing site content based on the response). So
keeping these functions in memory, while new content with new functions
is loaded, would be just wasting of memory.
functions or free memory used by them? I've tried with "delete"
operator but it doesn't work with function...