Hi there, I have an xml feed, which i'm attempting to extract two values from. I'll paste the basic xml feed below.
<aws:weather>
<aws:current-condition icon="http://deskwx.weatherbug.com/images/Forecast/icons/cond034.gif">Mostly Cloudy</aws:current-condition>
</aws:weather>
To parse this feed, I have the following in Javascr...
function jsFunc() {
alert('i am js!');
}
$('#node').slideDown().call(jsFunc());
Of course, the function isn't called 'call'. Any help?
...
Need to turn javascript (ajax) vote script into reusable (dynamic) script so it can be used over and over.
I have some ajax that works great, but I have to reproduce it and add unique identifiers [where you see 9 in the code are the unique identifiers that I have to change] for every question added that needs a vote. Need to make it dyn...
How to put the iframe/div using javascript next/before the <script> block, just like google ads. So I am putting a script tag in an html and I want an iframe to appear at the same location in the rendered HTML.
<script>
// do something to add an iframe/div so that it appears on page
// as if it were added in place of script
<sc...
when I put slash to some variables value like
"aa ///\\\" or "aa ///\"
then javscript shows error.
var ttt = "aa ///\\\";
var ttt = "aa ///\";
the input is not in my hand so, i can't add slashes accordingly before assigning it to variable.
I used this and this
But none of this works for me.
If i want to restrict user to give th...
I'm looking for a short tutorial about creating a login page for a website using cookies.
Each user has a username and a password.
Should I save both the username and the password in the cookies ? or just the username may be enough ?
Can a malicious user steal somehow these cookies and pass the authorization ?
...
I'm trying to create a website that will take data from some file as input to a javascript page that will then do some data crunching and spit out some html. Additionally, I want the website to allow users to upload their own data to then be displayed. I'm imagining something like where the top center of the page has the results of the j...
In the Ruby world if I find a GitHub Ruby library documented with either Rdoc or Yard I can use Rdoc.info to generate an API documentation for that library and then read it online.
Is there an equivalent solution for Javascript?
As an example I want to generate a documentation for this library:
http://github.com/280north/jake
...
Hi all good morning
I have a new web application. I've setup the application and it's working on one server(xxx) but it's not working on another(yyy). I changed the web.config file(checked throughly and I've changed the connection string and appsettings).
What could be the error?
The login page is working but when I proceed a Javascr...
Hello everyone, I am trying to fire a javascript by onclick event of submit button but not able to,
Details of my code are "i have a button named filter and two text boxes which take the Id and Name,
All i want is "When i enter the value in Id textbox and click Filter then i want the values to be displayed on URL using QueryString".
here...
I'm new to Node.js and I have been reading about Narwhal that is a framework based on Rhino.
My questions:
If I'm using Node.js, should/could I use Narwhal and it's libraries/modules?
Aren't the libraries/modules in Narwhal IO-blocked (why Node.js got this huge popularity)?
Is Node.js only for creating Web servers or is it for creatin...
From what I have understood Jake (Rake equivalent for Javascript) is based on Rhino.
Does this mean that I cannot use it with Node.js?
...
Hi,
I have a client register startup script like so:
" " +
"document.body.onunload =
clearSession; " +
"";
The script works fine in IE8 by calling the clearSession() client script but not with firefox. can anyone help please?
thanks
...
Hello. I'd like to know if there's a test conditions using which one can check the visibility state(hidden or visible) of a tag.
I mean a test condition,which could be used with the if() statement.
thanks!
...
I'm sure this is a basic question... I have a nested form where the nested object contains a text field. There is a link_to_function in the form that calls some javascript. I want to pass the javascript function the value of a hidden field in the form (image_type_id).
Can I reference this with some ruby or does this need javascript?
...
Is there anyone who knows how Voddler made the information box that appears when the mouse is hovering over the movie covers?
What I want is to display an information box when the mouse hovers over an image in my gallery. There is a neat solution on www.voddler.com/movie/browse and I was wondering if anyone knows how they have done? I d...
i see that on ./etherpad/src/static/js/pad_editor.js it's being called
as,
self.ace = new Ace2Editor();
can I just include and call some other editor (like codemirror) ?
...
What is the typeof funtion?
...
In Node.js I can use a module like this:
sys = require("sys");
How do I create my own module like "sys" so that I can require it from other files?
...
Possible Duplicate:
How can I obfuscate JavaScript?
Hi,
i want to "protect" my javscript code. Are there any good, recommended ways which are very difficult to hack?
I tested some encoder on the Web and sometimes my Javscript code doesnt work after encoding.
Is this normal (cot the encoder is very bad)?... or is my code too ...