When i debug javascript in webkit browser(f.e. Safari), often i have some string variables and value of these variables are often very long, webkit make it shorter with "..." at the end, but i want to see all value of this variables, how can i do this?
...
I've published a website and every page has an or element with Cufon (cufon-yui.js) and sometimes while the page is loading , the visitor can see the text replacement tool doing it's job. It looks bad, some users are asking about it.
Why would that be happening if I'm using it (cufon) like anybody else and I don't' see this text rende...
I have a set of about 40 records in a list which works inside a table with pagination, 10 records per page and sorting enabled on all the columns. My problem is, pagination doesn't appear to work with the sortForce option. When implementing it, the page will "work" (as in load) on the first load, and when clicking on one of the columns...
Hi,
I am wondering how to install a Javascript runtime engine to work with an Apache HTTP server. My aim is to run server-side Javascript.
Thanks in advance for any help!
...
Hello,
i try to get the value from a radio box in a input box
<form action="test()">
<input type="radio" name="typ" id="typ" value="ws" onfocus="test()" checked> ws
<input type="radio" name="typ" id="typ2" value="nb" onfocus="test()"> nb
<input type="radio" name="typ" id="typ3" value="za" onfocus="test()"> za
<input typ...
Does $('#idOfLememt').outerHeight(); yield same result for all browsers? Any thing different for IE7?
...
the login box is in the header of the website, availalbe on all pages.
I'm using a javascript :
<script type="text/javascript" language="javascript">
history.forward();
Which solves the issue of the backspace in the login box.
But while I'm browsing the rest of the website, I can use backspace to see the previous page, I'd ha...
I'm having a bit of trouble working something out with regards to javascript and Json.
I have a function that contains a json object
blah=function(i){
var hash= ({
"foo" : "bar",
"eggs":"bacon",
"sausage":"maple syrup"
});
var j=eval(hash); // Convert to Object
console.log(j.toSource()); // Yes I know it's only in firefox!
cons...
Hey all, I'm currently working to build a CMS for a client where the editing page looks exactly like the rendered page.
Hence I don't want an iframe based WYSIWYG, I am looking for something of a wrapper for contenteditable which irons out the differences between Firefox and Webkit.
For instance an "Enter key press" in Firefox results ...
$(document).ready(SetupButtonClicks());
function SetupButtonClicks() {
$('#btnJavaPHP').click(DoPHPStuff());
}
function DoPHPStuff() {
//stuff
}
I have this code in my javascript file, when I debug it I see it call SetupButtonClicks() like it should but after that is done it calls DoPHPStuff(). DoPHPStuff() should only be cal...
Okay I have a question, may be simple. But I cannot seem to understand what is going on. I have 3 security question drop down menus. I have javascript on the ASPX page that removes questions/repopulates them when you select a questions (so you cannot reselect the questions in the other 2 boxes). This works wonderfully when a user is edit...
Hi,
I am using rowcontextmenu in radgrid. I did this using demos that provided by telerik. When i right click on radgrid row I am getting error like Microsoft JScript runtime error: 'document.getElementById(...)' is null or not an object. I dont what causing this error. can anyone help me to fix this error.
Thanks
<scri...
How do you implement SquishIt to bundle Css/Js across View Pages and Render it in the Master page? I thought I could use a ContentPlaceHolder above the Render portion, but there seems to be some odd behavior where it sometimes adds 3 files (1 in the view page and 2 in the master page) but other times will ignore the file added from the V...
I have a "bar" across the top of my page, 100px hight and 100% page size.
I have an unordered list of images displayed inline in there 80x80 (10px padding all round) and I have tried several methods of displaying "more" images than fit on the screen either by wrapping to several lines or by scroll.
What I would prefer would be somethin...
Seems like a very simple question here:
I've got a program where someone is entering a string M&S in a form and running a query. I understand the & is a reserved character and therefore must be encoded. The problem is it seems to be requiring encoding twice in some contexts.
If the URL is used in a javascript onClick event, normal ...
For the purposes of debugging I need to make Richfaces use non-minified JavaScript. Is there a simple way to accomplish this?
...
I have an array of existing object defined with JSON. The objects are obviously of the Object type. How do I associate them with a custom object type to give them specific functionality?
...
Hey all,
I read from the jQuery website, that get() loads data from the server using a HTTP GET request. But this explanation doesn't suffice, such as for the example I provide below:
Just to give some context for my question, when we assign the value of two parameters to a variable expoptions:
var expoptions = $.extend(defaults, opti...
var c = [{"Id":40,"Action":null,"Card":"0484"}];
$('#hidJson', window.parent.document).val(c);
alert($('#hidJson', window.parent.document).val()); // returns [object Object]
alert($('#hidJson', window.parent.document).val()['Card'); // returns undefined
I'm in a legacy app. I have had to put in a fix where an IFrame needs to get a pack...
i have something like this
<ValueSet>
<value id="0">109.3</value>
<value id="1">110.6</value>
<value id="2">111.1</value>
<value id="3">111.5</value>
</ValueSet>
and i need the id of the node that has the maximum value,
i need do this in javascript using Xpath.
i do this:
var path = "//ValueSet[not(value <= precedi...