names? I got mixed
up because of this:
The variable called1 will have 'called1-fun1' and
The variable called2 will have 'called1-fun2'.
called1-fun1 should be class1-fun1 and called1-fun2 should be class1-
fun2, right?
Joe
On Dec 6, 11:22 am, Prajwala Manchikatla [EMAIL PROTECTED]
wrote
Hi all,
I released my first jquery plugin. It is about binding or connecting a
function to another function. It is just like binding a handler function to
event. Please have a look at it and send me your comments.
http://plugins.jquery.com/project/jqConnect
cheers,
Prajwala
Normally this does not happened. need more code to find out what is the
wrong.
cheers,
Prajwala
On Fri, Nov 28, 2008 at 7:15 PM, Betty [EMAIL PROTECTED] wrote:
Hi, I'm new. I've written two pieces of code with jQuery. Each of them
works well individually. However, if I put them one after the
I just changed input button type from submit to button. Then it is working
as your need. The submit button will always call the form submit when ever
it is clicked, even when you press enter also it call the form submit. But
normal button do not call form submit all the time.
!DOCTYPE html PUBLIC
24, 12:36 am, Prajwala Manchikatla [EMAIL PROTECTED]
wrote:
You can think of stopPropagation.
http://www.w3.org/TR/DOM-Level-3-Events/events.html#Events-flow
I hope this might help you.
In the addSubject function the this will point to window object. That
means the function is in the global scope. If you want to pass the element
to addSubject function do like this
Use html like this
a href=# onclick=addSubject(this);add/a
Here this keyword can only be used in event handlers
of the question. If it's not as hard
as I'm thinking it is, please explain.
On Sat, Oct 18, 2008 at 6:08 AM, Prajwala Manchikatla
[EMAIL PROTECTED] wrote:
instead of using preventDefault for the input, submit buttons use it for
the form.submit event. That means write a event handler for onsubmit
check whether your selector is returning the items or not.
just check the length of $('.treeview').
selectors will search on the document tree only. If you create those
elements
in the javascript and did not append to dom tree, the selector does not
return the required result.
On Thu, Oct 23,
instead of using preventDefault for the input, submit buttons use it for the
form.submit event. That means write a event handler for onsubmit event of
form and in that handler use preventDefault. It will work. We also had a
same requirement. It solves the problem.
On Sat, Oct 18, 2008 at 9:14 AM,
the toggle function toggle the display not any action. You need write code
to toggle the action.
$(li).dblclick(function() {
if($(this).didSomeThing == true){
$(this).backToNormal();
$(this).didSomeThing = false;
return;
}
$(this).doSomething();
I use microsoft visual studio to debug errors on IE. it will point out the
error at the exact place. I hope it helps you.
On Sat, Oct 4, 2008 at 4:32 AM, Eric Martin [EMAIL PROTECTED] wrote:
Actually, the error is being caused by the issue mentioned:
You can read the xml document like this
$.get(data.xml,null,function(xmlDoc){
// xmlDoc is a xml document object
// you can read data by xmlDoc.document.getElementsByTagName('para') etc..
// and you can use the jquery tool tip plugin to generate tooltip
},'xml')
tooltip plugin url
You can do like
$('[id=test:name]')
That is attribute search.
cheers,
Prajwala
On Mon, Sep 29, 2008 at 12:10 PM, Faisal Basra [EMAIL PROTECTED]wrote:
Please, can i have any way in jQuery to just by specifying id like
(#phone) to get form:id ...
On Sep 25, 6:28 pm, Faisal Basra
I think you might be having some problem with the displayData function.
firebug will help you in debugging the code. put debugger statement before
displayData function and run on firefox after installing firebug. submit the
form, after getting response from server, the debugger will stop at
I tested with this html
t =
$('htmlheadstyle.s{color:red}/stylescriptfunction(){alert(hi)}/script/headbody/body/html')
The return value is jquery object with 3 elements.
when I do t.get(0) it return style tag
when I do t.get(1) it return script tag
when I do t.get(2) it return just
15 matches
Mail list logo