Hey guys,
I have a jqgrid and I can reorder my columns with this option in my JQGrid
jQuery("#list").jqGrid({
sortable: true,
...
});
This functionality let me reorder ALL my columns. But I want that some columns must be on fixed places. Is there a way to solve this?
Thanks in advance!
Bruno
...
Hi all,
I am very new to Javascript and have only started playing with jquery recently. I have a Javascript function that while used on its own within my project, works flawlessly. as below.. * UPDATE * these 2 functions are declared after the <input> tag and still throw the same error document.getElementById("name_first") is null when ...
Using jquery I'm trying to post textarea content back to a php backend. I can successfully alert out the textarea content, however when I use the $.post, firebug shows it as 'undefined'.
The post will successfully send the borrowing id. I have also tried giving the textarea a unique id but to no avail.
alert($('textarea').val());
$...
Essentially I need to specify a JQuery variable in my webpage's body tag, and have a function in my head tag read it. This is the function in my head tag (simplified):
<script type="text/javascript">
$.noConflict();
jQuery(document).ready(function($) {
$('a.paymentAdd').click(function(){
alert ("rowCount 1 = " + rowCount);
rowCoun...
Hi
i used jquery many times in noconflict mode as below
var $j = jQuery.noConflict();
and it works great every time.
Today i used the jQuery 'before after' plugin. I used the same noconflict function but it did not work http://www.catchmyfame.com/2009/06/25/jquery-beforeafter-plugin/
I am not sure that $.fn.extend works with no...
<?php
include_once('db.php');
$location = $_POST['location'];
$doctor = $_POST['doctor'];
$patient_id = $_POST['patient_id'];
if(($location != "") && ($doctor != "")){
$sql = "select Name,Age,Gest_age,Weight from rop_form where Location = '".$location."' and Doctor = '".$doctor."' and Patient_id = '".$patient_id."'";
$result = mysql_quer...
Hello,
I currently have the following html:
<h3 />
<p />
<p />
<ul />
<ol />
<h3 />
<p />
<p />
<ul />
<ol />
<h3 />
<p />
<p />
<ul />
<ol />
I'd like to create an accordion but for this I need the following:
<h3 />
<div>
<p />
<p />
<ul />
<ol />
</div>
<h3 />
<div>
<p />
<p />
<ul />
<ol...
Information:
I have a site that has a design on index.php, and then you browse other pages(video.php, news.php) inside a frame on index.php.
What i want to do:
After a action(inserted to mysql.query) has happend inside the frame(video.php), i want to show a #box that is on index.php. How should i do this? And is it possible to do like...
I am new to jQuery and I have a piece of code inside the ready function that takes about 4-5 seconds to finish. What I'd like to do is to probably use blockUI to show a "Please wait" message or something while the page is loading. However, if I insert the $.blockUI and $.unblockUI inside the ready function it just runs and disappears r...
Does IE 8 have any other good add-ons/extensions/plugins other than "Developer toolbar", which is useful for web developer/designer/tester?
...
this is the problem:
I'm using javascript and JQuery (not UI) to drag nested objects in my web page.
to disable the text selecting I have to return FALSE from the mousedown handler, but this disable also the event bubbling. But I need event bubbling...
What can I do??
thanks
...
Hello.
I am using this script to insert comment to the database:
var http = createObject();
var nocache = 0;
function insert() {
document.getElementById('insert_response').innerHTML = "To Sek .. "
var fID= encodeURI(document.getElementById('fID').value);
var kommentar= encodeURI(document.getElementById('kommentar').value);
nocache = Mat...
I have a functional JSP page that accepts URL parameters and updates a table on the page with info based on those parameters.
I have a set of different tabs which pass said URL paraneters to the page they are on so it then re-loads and displays this new data.
I have been trying to use jQuery .load and .ajax methods so that i can pass t...
Can anyone enlighten me as to why the following code won't work in IE7 but it works just fine in Chrome/Firefox?
$(document).ready(function(){
$.ajax({
type: "POST",
dataType: "text",
cache: false,
url: "/ajax/ajax.asp",
data: "cmd=check_forfeits",
success: function(msg) {
return false;
}
});
});
...
Hello friends!
I have 5 images on my page. These images are layered on each other using Z-index in css class. Out of these 5 images I have assigned a css class to 4 images and for one image i.e. first image img1 I have added css effect using style property in image tag only.
Now out of these 5 images first image img1 is always visibl...
I have a table cell that contains a numerical value.
When changing the value, I want to create an effect where the counter moves up (or down) in 100 steps until reaching the new value.
I've tried something like the following (with the help of jQuery):
function update(element,newValue)
{
var oldValue = parseFloat($(element).text()...
hi,
I've got 2 jQuery functions. One calls the other (in theory...). These are:
$.testFunction = function(arg1){
alert("testFunction(arg1)");
$.testFunction(arg1, "");
}
$.testFunction = function(arg1, arg2){
alert("testFunction(arg1, arg2)");
alert("arg1: " + arg1 + "\narg2: " + arg2);
}
I've got two functions, beca...
Hello, I have a question:
How could I handle the session expire on a MVC application that has JQuery Ajax method calls on certain pages. The issue is the following:
When the client reaches the session timeout, each of my controllers inherits a class that checks if the session is alive (looking up on some stuff like the site session, d...
This question is a bit open ended as I'm not sure it's possible or where to start with it.
If you are familiar with the Web Developer Toolbar for Firefox you will know the CSS > View Style Information tool where you can mouse around a web page and it will select the <h1>, <div> or whatever html tag you are hovering over.
I'd like to re...
I'm pretty new to Ajax and JSON and tried to get this to work but can't seem to get the hang of it.
How do I call the json in ajax and display all the info inside the json file?
here's my json file
{ posts: [{"image":"images/bbtv.jpg", "alter":"BioBusiness.TV", "desc":"BioBusiness.TV", "website":"http://andybudd.com/"}, {"image":"imag...