Job has many task, task has many notes
How should such a form look like ? With partials so I can enter the whole job from /jobs/new , and add new tasks from /jobs/2/tasks/new with possibility to add notes from there, and of course the possibility to add new notes from /jobs/2/tasks/5/notes/new ?
Is this a good place to use the presente...
I need to reload a block of javascript every amount of time.. say
<script type="text/javascript">
var frame = some sort of code;
</script>
i need that block of any function to be reloaded every 15 seconds without reloading the page itself .. something like jQuery time out but i don't know how to apply it..
any idea?
...
Hi Everybody
I am getting some problem to disable close button in JQuery Diagle.
My code is like bellow.
$(document).ready(function () {
$("#dialog").dialog({
modal: true,
width:800
});
});
Thanx in Advance
...
Hello,
help me figure out how to set an event on the parent element (<tr>)
I can't find the error in the condition
<script type="text/javascript">
$('table tbody tr').each(function(){
$(this).find('a:first').click(function(){
if($(this).parents().get(1).tagName == 'TR') {
$(this).parents().get(1).find('tr').css('...
Hello,
I am working to an application that uses jqgrid. The problem is that the edit dialog that should appear at row edit must have a specific layout. So i would prefer to load it via ajax and then send the data back to jqgrid. I searched a lot on the forums but i could not find an example on how to do it.
So, i just need jqgrid to fi...
Hi,
I have a date picker but i m trying the manual entry from user i-e September has 30 days how can i block 31st date to be manually entered from the user ???
...
I have a form with a select list. Each option also contains a dynamic id, which I need to capture and then use that to change a hidden input's value. So basically take the selected options id and change the value of a hidden input value.
My select and hidden input look like:
<select name="item_options" id="size">
<option value="20030" ...
I have two buttons: btnAdd and btnUpdate. I have written a jquery function for button btnUpdate to validate some fields in the web page like:
$(function() {
$('#<%=btnUpdate.ClientID %>').click(function() {
code here
});
});
I want to do the same thing when btnAdd is clicked. So I have to write the same function again for b...
I'm building a jquery plugin for use in my projects in editing items in a table. When a user clicks on an item to edit, I do a pop-up form where they then save the data. When the save is successful I return the new data as a html row and replace the old row with this new returned row, but then I have to rebind the events. I can't figure ...
Hi,
I'm looking for a simple spell checker to use with an text input. My application is being developed in ASP.NET MVC 2 within VS2010. I'm using the 4.0 version of the framework and my application will be accessed via an intranet using IE only.
A jQuery plugin would be ideal, but I'm happy to use any solution.
A step by step tutorial...
Do we have any function which returns all the error messages while validating a form?
I have tried using the defaultshowerros() function but it returns the error message for the element it is currently validating. How can I get all the error messages of the whole form?
...
Here said
$("table").delegate("td", "hover", function(){
$(this).toggleClass("hover");
});
is same to
$("table").each(function(){
$("td", this).live("hover", function(){
$(this).toggleClass("hover");
});
});
But I think it is also same to
$("table td").live("hover", function(){
$(this).toggleClass("hover");...
How to get how many hour minute seconds laps on message on php mysql?
like
23 seconds ago
1 minute ago
is this possible?
...
Is there a way through which I can get the index of list Items on click of li using javascript/jquery
<ul><li>item1</li><li>item2</li><li>item3</li></ul>
...
Let's assume i have a a tag with title attribute
<a title="some text here">;
is it possible to change the width of area, in which the title shown?
Thanks much
...
What is the best way to read all CSS selectors from my CSS $("head > style:eq(0)").html(); ?
Thanks in advance!
...
Hello,
I learned from this article that to avoid confliction between javascript libraries, use jQuery.noConflict(); function just before jQuery(document).ready ( function () { }) and replace jQuery at all instance of $
but i have seen many jQuery plugin where $ is used with variable declaration???
here is an example on this link ...
please give information about ajax,jquery,and javascript. i want to learn it.so from where i should start. i am working with codeigniter php framework.
...
Hi,
I'm building a few webpages in my webapplication which use a webservice.
While communicating with the webservice, which can take more than a few seconds, I want to display a loading screen. Something like the jquery dialog, where the background is disabled and a loading image appears in the middel of the webpage.
Is this possible ...
Hi Guys,
How can i prevent links on click event before jQuery is loaded?
The reason is i have few links that make AJAX calls through jQuery ajax functions and if user click them before jQuery framework is loaded the browser cant trigger jQuery ajax function and will follow links href="..."
Thanks.
Edit: Can i use this?
<head>
...
<sc...