hi,
i'm looking for a free tool, which i can use local to do javascript and php codreviewing. if it's even easy to install you'll be my hero!
any experiences, preferences, suggestions, commendations?
thanks in advice.
p.s.: if there is no adequate tool which can handle both good enough, i will be happy with a combination of two tools...
Hi
Just wondering should I encode all the data before I put in to the database or when I display it to the user? Or Both.
Right now I do it when I display to the user. I am using asp.net mvc 2.0 so I usually just make everything <%: %> what does encoding for me.
I am not sure with both though it might be a little extreme to do it to t...
Hello,
I am using jQuery fullcalendar and I am loving its fantastic feature set that is growing by the month.
I am wondering if anyone has any ideas on how I could integrate a jQuery Gannt chart with jquery fullcalendar
I have found a few projects that look promising
http://www.maro-z.com/examples/jquery.gantt/
http://code.google.co...
Hi everyone,
Does anybody know how one would go about looping through all the elements in a form using Dojo? (the form itself was created through the ZendFW Zend_Dojo_Form)
What I'm trying to do is go through all the fields/inputs in the form, and if possible, change their id value. However, even if its not possible to change the ID's...
I'm coding a templating system that is supposed to support easily converting any old html/xhtml form into a format that can be used with my system (it's a template system for my cms).
Here's what I'm aiming for:
The user clicks a "Zone Define" button for example: "Content", "Sidebar", etc
When the user hovers any elements they become ...
The following code should allow to hide/show the CKEditor form
<a onClick="$('#form1').hide();">Hide</a>
<a onClick="$('#form1').show();">Show</a>
<form action="sample_posteddata.php" method="post" id="form1">
<textarea id="editor1" name="editor1">blabla</textarea>
<script type="text/javascript"> CKEDITOR.replace( 'editor1' ); <...
Are there any good articles on naming comprehensive naming conventions?
I'm looking to clean up some code... everything from assets to models (Codeigniter) to HTML and CSS.
I'm also curious how to structure the CSS... is it better to give everything a unique class ie search-bar-icon or is it better to repeat classes like .search span.i...
I currently use Eclipse as my IDE for other languages and I'm rather used to not having to leave the IDE for anything - however I'm really struggling to find the same or a similar setup for pure ECMAScript-262.
To clarify, I am not looking for DOM support, jquery, HTML or anything like that, preferably just an IDE with ECMAScript-262 su...
I'm wondering how you can substitute the src-property (or delete the whole img-node) with JavaScript, if the browser is realizing, that the image beyond the image-src-property doesn't exist (any more).
For example:
<div id="foo">
<img src="bar">
</div>
And the img-tag is pointing to nowhere. In some browser, esp. the iE, are showi...
What would be a good way to report errors in JavaScript instead of relying on nulls, and undefineds when errors do occur and a function is unable to proceed forward. I can think of three approaches:
do nothing
throw an exception
assert
Here's a simple example scenario - a function that credits a user account with the amount passed in...
I have an array declared like this:
var dict = [];
When I do this:
dict["watch"] = 0;
this expression alerts NaN
alert (dict["watch"]);
I know this is because watch() is a function that is part of the object prototype. Is there anyway around this so I can use any word as a key in my array?
I am using Firefox 3.6.6
...
I am trying to customize jwysiwyg jquery RTE. I would like to build an image attributes editor so that once an image is inserted into the editable region, the user would select it and then a modal window or properties panel would appear allowing the user to edit the width/height etc. Analogous to gmails image insert UI.
The problem is I...
There's a lot of hubub about "cloning" JavaScript objects. However, as I understand it, it's a simple matter:
function clone(obj) {
return obj;
}
Now I realize that DOM objects aren't cloned this way, but as I understand it the DOM is part of the browser, not part of JavaScript.
What objects require deep-cloning and why?
...
Hi,
I've been searching for this script all day.
does anyone know any such script that I can use to rotate an image using mouse drag event. using javascript.
thanks in advance.
...
I'am trying to use some values from the "upper" function in the "inner" function:
function Load(el, script)
{
el.addEventListener('click',
function (e)
{
this.test = "testing";
script.apply(this, arguments);
}, false);
};
Load(document.getElementById("panel"),
function (e)
{
...
I'm implementing click tracking from various pages in our corporate intranet in order to add some sorely needed crowd-sourced popular link features ("most popular links in your department in the last 24 hours", etc.)
I'm using jQuery's .live() to bind to the mousedown event for all link elements on the page, filter the event, and then f...
With JavaScript I want to take a input
1st validate that the email is valid (I solved for this)
2nd, validate that the email address came from yahoo.com
Anyone know of a Regex that will deliver the domain?
thxs
...
i see it
function(element)
{
element.$tmp.myTitle = 'title';
element.$tmp.myText = 'text';
}
anybody know ?
when i bring this function to use in mootools1.2 it not define $tmp
$tmp?
use for Tips plugin mootools
...
I'm using jQuery-UI to build a site with dialogs containing form inputs (input and select specifically), yet I do not want the user to be able to accidentally highlight the text, radio buttons and elements used in the dialog as this looks ugly (and selecting is surprisingly easy to do by accident on the ipad).
I have been using the jQuer...
Hello,
In jQuery plugins, every time we return an object of jQuery, like
$.fn.Myplugin = function() {
return this.each(function() { //do some stuff });
});
My doubt is, why do we actually return an object of jQuery and where are we going to use this returned object
Though I don't return any jQuery object in my function(plugin...