| |
thread by: yawnmoth |
last post Mar 1 '08 by: Krukow
<script>
a = "zzz:\nalert(1)";
eval(a);
</script>
Why does that work? This doesn't (not that I'd expect it to):
<script>
zzz:
|
thread by: rada.lambretha |
last post Mar 1 '08 by: The Natural Philosopher
Configuring Linux as a Firewall
* Making installation choices
* Introducing iptables
* Using iptables commands
* Simplifying things with firewall GUIs
* Adding proxy functionality
As Linux gains increasing acceptance in corporate datacenters and
|
thread by: moho |
last post Mar 1 '08 by: acoder
Hi I'm trying to use $_SESSION in my AJAX application.
However this gives me strange data, the $_SESSION variable seems to
change during page load. in the end of the page it's the earlier value that shows.
I set the $_SESSION with this
function setId(id)
{
try{
var obj;
|
thread by: hmoundekar |
last post Mar 1 '08 by: acoder
actually i want to generate a tree structure on client side, the application is simple web based, and need to display the data extracted from the database to client in tree structure. but the problem is that i need to display the tree of the data in tabular format, means expanding of tree should expand the table rows and collapsing of tree should...
|
thread by: shmodi |
last post Mar 1 '08 by: acoder
Hi All,
I am new here and want to get some help for speeding up and resolving IE issue while creating tree using ajax.
My tree contains radio buttons at each level and I am getting all tree data from database. To speed up, what I am doing is to have tree in session at server side
and whenever ajax needs the tree , it sends appropriate...
|
thread by: GK |
last post Mar 1 '08 by: The Natural Philosopher
Hi all,
I wish to know , how i can create thumbnails automatically using
javascripts. It should reduce the size as well as pixel resolution
(ie, a 1 mb image of 1280 x 800 px can be reduced to 20kb of 200 X 200
px. Is this possible?
If yes, pls let me know.
Thanks in advance
|
thread by: Tim Streater |
last post Mar 1 '08 by: Thomas 'PointedEars' Lahn
I have a <selectthat I build up dynamically. To later clear and
repopulate it, I can't use the standard trick of:
ptr_to_select.options.length = 0;
because sometimes the <selectwill contain <optgroup>s. These stay in
the <select(for Firefox and IE7, not Safari), after setting the length
to zero.
What seems to work on all browsers is:
|
| |
thread by: sejal17 |
last post Mar 1 '08 by: acoder
Hello Every one,
i m trying to creat page like login page but the input is 10 digites phone number
of customer .here i want that users are access thier accounts if they enter currect phone number.
here phone number is enered like 123 - 456 - 7890. ----- thirdtextbox
| |
...
|
thread by: walshieau |
last post Mar 1 '08 by: acoder
i have the following script to create an image, map and its areas
now adding the image to the div works fine, but when i try and append the map onto the image it returns a Unexpected call to method or property access JavaScript error.
personMap = document.createElement('map');
personMap.setAttribute('name', 'newmap');
...
|
thread by: kalyke |
last post Mar 1 '08 by: acoder
I'm not sure if I have the syntax right or if I'm using the wrong code or what, but I just can't seem to get this to work. Please someone point me in the right direction.
function ajaxRequest(){
var URL = "pictures.xml";
var request = false;
if (window.XMLHttpRequest) {
request = new XMLHttpRequest();
}
else if (window.ActiveXObject) {...
|
thread by: kalyke |
last post Mar 1 '08 by: hsriat
I think the below code should work, but for some reason the setNumbers variable isn't keeping its value after the function. I thought if I declared variables outside of any function they would behave globally, so if I put data into them in a function it would carry over out of the function. Where the alert is at the bottom works, but if its moved...
|
thread by: rjoseph |
last post Mar 1 '08 by: mrhoo
Hi Guys
I hope this is an easy one for you.
Basically I have a page on my website that creates a javascript based cookie on the users pc. The contents of the cookie when created looks as follows:
------------------------------
DS1113008PT_ToDoItem1
My%20message%20goes%20here
www.mydomain.co.uk/carsearch/usedcars/
|
thread by: alex.pedwysocki |
last post Mar 1 '08 by: Gregor Kofler
Having trouble googling this one.
I have a dynamically generated table that I'd prefer not to set sizes
for.
Is there any way to know the size that the browser is using to display
this cell?
The problem: adding an image (using javascript) that is too large
causes the width of one column to expand. If I have text in another
|
thread by: Cubicle Intern |
last post Feb 29 '08 by: Tom de Neef
Hi,
My website's search function looks up entire phrases instead of
individual words. For example, if I query "Google Groups," I would
like my search to come up with everything in my database that has the
words "Google" and "Groups," not just the phrase "Google Groups." I
would want my search to bring back "Google-tastic Search" or...
|
thread by: artev |
last post Feb 29 '08 by: David Mark
var_cont.
find('.style1').src(current.src).css({ opacity: 1 }).animate({
opacity: 0.6}).end().
is possible to have 2nd opacity with no use of .animate?
and which are a list of animates's parameters?
others :if I use opacity: toggle" I have for just a moment image with
and after nomore is necessary to use others parameters?
|
| |
thread by: drthorogood |
last post Feb 29 '08 by: acoder
Hi Guys,
I think this will be very easy for you experts but I am a real novice with scripts.
I have a text link {LINKONLY}Book</a> where {LINKONLY} is defined in the site. I wish to change to a button with onclick function but do not know where the {LINKONLY} needs to go in the script.
<input name="details" type="submit" class="button"...
|
thread by: destiny007 |
last post Feb 29 '08 by: acoder
Hi,
can any one help me to create the pop up only once. on clicking the text box
<html>
<head>
<script type="text/javascript">
function abc()
{
var wind1=null;
|
thread by: henryrhenryr |
last post Feb 29 '08 by: acoder
Hello
I think this is a simple syntax question but I can't seem to find the answer so far...
I want my javascript to collect the value from a form input with the name
nType
It has this name because in PHP this creates an array automatically.
|
thread by: tyv |
last post Feb 29 '08 by: abaqueiro
Hi,
I encountered a bug on a website that I am working on. The enter/
return key function works in certain parts of the website and doesn't
work in other parts. I went through all the scripts but I'm not sure
why the function does not work for this part. Does anyone have any
suggestions/scripts that would work in this case?
I am...
|
thread by: Sansasoon |
last post Feb 29 '08 by: acoder
Hi there,
I am supposed to do a shop ... which I ve done so far. The only thing that I can't get working is adding up to get the result
It would be really great if someone could help me (Sorry it is in GERMAN)
ThX in advance
Sansasoon
<html>
<head>
<title>Warenkorb berechnen</title>
|
thread by: maralfarshadi |
last post Feb 29 '08 by: maralfarshadi
Hi
I have a hyperlink in my form, and I am using:
<a href="javascript:myFunction('myTextBox','myFormName','ServletName')"> Go </a>
In my Javascript code, if all goes well, the form gets submitted and the page is forwarded to a servlet. If not, it should just alert the user and cancel the navigation.
|
thread by: corykendall |
last post Feb 29 '08 by: corykendall
Here is my code:
...
Setting hidden input to: <dsp:valueof param="tabname"/>
<input name="tabname" type="hidden" value='<dsp:valueof param="tabname"/>'/>
</dsp:form>
hidden input set to:<script language="JavaScript"> document.write(document.getElementById("tab_switchRefreshForm").elements.tabname.value);</script><BR/>
Now when I'm...
|
thread by: romeo971987 |
last post Feb 29 '08 by: acoder
disable back button..... page should no do postback...
i used history.go, history.back, session.abandon...and many more...but still previous page shows.... help me to expire the previous page.......
|
| |
thread by: shan shah |
last post Feb 29 '08 by: hsriat
I am working in Java Script. How to chang the background image(picture) of a web page by clicking on a button?
Please reply soon.
Regards.
|
thread by: deepthi230 |
last post Feb 29 '08 by: acoder
i am using the method parseFromString() to parse a string into DOM tree. i want to replace \" in the string with " before it is passed to the method, using javascript. how can i do this??
|