javascript-framework

Prototype JS swallows errors in dom:loaded, and ajax callbacks?

I can't figure out why prototype suppressess the error messages in the dom:loaded event, and in AJAX handlers. Given the following piece of HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <title>Conforming XHTML ...

Jquery calendar and tab sliding div clash

Hey all, I am trying my best to figure out another way around this problem I seem to have encountered. On my website I have a jquery calendar and also a jquery div tab slider (this: http://www.queness.com/resources/html/tabmenu/jquery-tabbed-menu-queness.html). The problem comes into play with the DIV tag. The calendar loads up inside a...

how to create run time element? where i am doin wrong help....help.....

new Ajax.Request('Handler.ashx', { method: 'get', onSuccess: function(transport) { var response = transport.responseText || "no response text"; //alert("Success! \n\n" + response); var obj = response.evalJSON(true); ...

i cant call the function in prototype .js ? where i m doing mistake in my code help

Code: DeCheBX = $('MyDiv').insert(new Element('input', { 'type': 'checkbox', 'id': "Img" + obj[i].Nam, 'value': obj[i].IM, 'onClick': SayHi(id) })); document.body.appendChild(DeCheBX); DeImg = $('MyDiv').insert(new Element('img', { 'id': "Imgx" + obj[i].Nam, 'src': obj[i]...

JqGrid setCell method, inserts blank row in the grid

I have a portion of code to update a cell value like this: jQuery("#myGridDiv").jqGrid('setCell', myRowToEdit, myColToEdit, myNewValue); that's about it, and sometimes it happens that a blank 'dummy' row is inserted at the end of the grid, this behavior is somewhat random but occurs often, any help will be really appreciated ...

why does $().invokde('hide')doesnt work?what is used to hide image in prototype.js?

DeCheBX = $('MyDiv').insert(new Element('input', { 'type': 'checkbox', 'id': "Img" + obj[i].Nam, 'value': obj[i].IM, 'onClick': 'SayHi(this)' })); document.body.appendChild(DeCheBX); DeImg = $('MyDiv').insert(new Element('img', { 'id': "Imgx" + obj[i].Nam, 'src': obj[i].IM })); ...

shall I move from prototype to jquery?

Lastly I've been feeling like jQuery is slowly becoming the defacto standard in JS libraries (I might be wrong!), or at least that is more active than the rest of the frameworks. For example, I've been looking for a fine open source calendar like Componente and found http://fullcalendar.vinsol.com/ which is based on jQuery. We've been ...

Writing a Javascript library that is code-completion and code-inspection friendly

I recently made my own Javascript library and I initially used the following pattern: var myLibrary = (function () { var someProp = "..."; function someFunc() { ... } function someFunc2() { ... } return { func: someFunc, fun2: someFunc2, prop: someProp; } }()); The problem with this is that I ...

Failed to maintain 100% width & height of structure in extjs

HI, i am new in extjs. i want to build a page using extjs ____________ |hd__________| | p1    <|p2         | |          |             |-->will be a viewport (will resize on window resize without any |          |             | Scroll bar |          |             | |          |             | |          |             | |_____|_______| H...

how to get the image id and use hiding the image using prototype js?

DeCheBX = $('MyDiv').insert(new Element('input', { 'type': 'checkbox', 'id': "Img" + obj[i].Nam, 'value': obj[i].IM, 'onClick': 'SayHi(this)' })); document.body.appendChild(DeCheBX); DeImg = $('MyDiv').insert(new Element('img', { 'id': "Imgx" + obj[i].Nam, 'src': obj[i].IM })); ...

How send sms 2automatically 2 a paricular no: only?

import net.rim.device.api.io.*; import net.rim.device.api.system.*; import javax.microedition.io.*; import java.util.*; import java.io.*; public class SendSms extends Application { private static final int MAX_PHONE_NUMBER_LENGTH = 32; private String addr = "15191112222"; private String msg = "This is a test message."; ...

please help me to find out where i am doing mistake in this code? i wnat retieve the value that i am passing with AJAX.Request?not any error i am getting

function reload(form) { var val = $('seltab').getValue(); new Ajax.Request('Website.php?cat=' +escape(val), { method:'get', onSuccess: function(transport){ var response = transport.responseText ; $("MyDi...

Find the item index in jCarouselLite

Hi all, I use jCarouselLite for scrolling text, I use and as the content for scrolling, I need to trigger a javascript event when it reaches at the end of the content(). I need to change the scroll content when it finishes scrolling previous content. I tried adding a call back function but it does'nt work. This is my code: $("#scrollD...

Is there a javascript library that contains a rich set of very high level commonly used functions?

I find that many high level functions are missing in most well-known javascript libraries such as jquery, YUI...etc. Taking string manipulation as an example, startsWith, endsWith, contains, lTrim, rTrim, trim, isNullOrEmpty...etc. These function are actually very common ones. I would like to know if there exists a javascript library/ p...

when i click on checkbox ,the image should be hiden though i dont make it happen somehow and i can get the image id but it doesnt heppen? where i am doing mistake ?why it doesnt heppen.

function Psend() { new Ajax.Request('Handler.ashx', { method: 'get', onSuccess: function(transport) { var response = transport.responseText || "no response text"; //alert("Success! \n\n" + response); var obj = response.evalJSON(true); ...

how can we edit, update,add, delete the table rows dynamically in userinterface using prototypeJS with Ajax

Hi, If i press the any column of the table the entire row will show as editable row format (Ex. if i use ||||..etc. when i click on any column all column should be editable row.) save and cancel options. while we click on save or cancel option work as properly. How can i add, delete, update, edit the rows dynamically using PrototypeJS wi...

Which JavaScript MVC framework to use for wysiwyg editing and floating context-sensitive settings panel?

I'm developing a cms that allows editing everything on the page (generated server-side with a template engine) by just clicking on it — the area turns into input field, textarea or a full-featured tinyMCE editor, Template defines editable elements like "page heading", "copyright footer text", "image", "rich text block" etc. Along with ...

how can dojo.FilteringSelect be configured to match wildcard values?

Below is a sample of a filteringSelect populated with user data. My goal is to have perform wilcard match on the displayed values. for example, if the user types 'son', the dropdown matches will be "homer simpSON' and 'carl calSON'. By default, the match will only be on the beginning of the label. I tried changing dijit.byId('userselec...

extjs - 'Store is undefined'

Hi all, I'm pretty sure this a trivial problem and i'm just being a bit stupid. Your help would be hugely appreciated. In controls/dashboard.js I have: Ext.ill.WCSS.controls.dashboard = { xtype:'portal', region:'center', margins:'35 5 5 0', items:[{ columnWidth: 1, style:'pad...

jqtouch / google maps api v3 issue

Hi everyone, I'm having a hard time trying to make jQtouch and Google Maps api V3 together. I've tried almost everything. It seems that the only source of information is here I checked every single post. I'm starting with jQuery and css... so there's a lot of stuff I don't understand. First of all, I'm using jQtouch framework to build ...