Hi
I need to extract this line of code from a script i am retrieving via ajax..
this line new Date(2010, 10 - 1, 31, 23, 59, 59) from
jQuery(function () { jQuery('#dealCountdown').countdown({
until: new Date(2010, 10 - 1, 31, 23, 59, 59),
serverSync: serverTime,
timezone: +11,
compact: true,
format: 'HMS',
expiryUrl: BASE,
la...
I'm calling a function in the element itself via an onclick attribute because I need php to dynamically give a value in one of the functions parameters. When I try to reference the calling element in the function via "$(this)", it ends up referencing the entire window and not the element. How do I fix this?
...
Im sending a list from my controller class to my View which contain a list of values of type long. Now i want to traverse on that list in jquery to be able to view these values and perform my next operation. Im using Asp.net mvc and jquery. how to convert it so i can access each value?
...
hello.
i am using jquery colorbox plugin.
it works fine in FireFox but in IE 8 when i am showing colorbox i can see parent!
i did not change colorbox JS and CSS files.
here is address of colorbox plugin
http://colorpowered.com/colorbox/
I can see Parent After Scrolling down .
I uploaded Picture for more information.
http://img208.images...
Hi everybody. I want to apologize now for my bad english, i hope you will understand what i want:
I recently used the plugin jquery 'jScrollPane' on my website malossane.fr/sqf/. Everything is ok, but i appeared to not be able to make the only little change i wanted.
In fact , it is very simple in the idea, but my css scripting level is...
Hello Guys,
I have a vertical left menu in my asp.net page.
using jquery .load,i try to load other aspx page in the midlle div(content div)
depending on the link click.Like this:
$('#LeftMenu1_HyperLink1').live("click", function(event) {
event.preventDefault();
$("#ContentDiv").load("mypage.aspx");
...
Hi,
I have a table, representing a calendar, that can expand and collapse table rows.
<tr class="parent" id="month1">
<th class="subheader">Januari</th>
<th></th><th></th>
</tr>
<tr class="row child-month1" id="day-1">
<td class="date"> 1 januari 2010</td>
<td>Bedrag </td>
<td>-817.0 </td>
</tr>
<tr class=...
Hi All!
I need to customize the Browser scrolls (Horz and vert) as per my requirements. and about the customization of div scrollers i know how to do that but i want to customize the main Browser scroller.
I need to minimize it in width so that it can take less width as compare to its default on Win 18pxls.
Shabir Gilkar
...
The Code-
$.ajax({
url: "edit.php",
success: function(html)
{
$("#last").html(html).hide().slideDown('slow');
alert("hello");
}
});
Mozilla shows it all fine. Where as IE (being the normal PMS *) doesn't load anything into #last but does show the alert, what could be the problem?
I thought javascript wa...
If I have a normal
<?php echo "Today (".mysql_num_rows($query)."); ?>
That turns out as Today (10) if there's 10 rows.
Now under this counter I have an while() that outputs all the rows inside a <tr>.
In a <td> inside the tr i have this delete button, which hides closest 'tr'.
How can I when you hide the 'tr' the Today(10) will de...
The Code
$.ajax({
url: "get_portfolio_experience.php",
success: function(html) {
$("#inbox_content").html(html).hide().slideDown('slow');
}
});
The content doesn't animate if i do not put a hide() before slideDown(). And if i put a hide() it doesn't show in IE. What should i do?
...
Is there a way to can access and manipulate the POST params after a form submit has been made. To be more specific, in my submit event handler, how can I do something like
$("#form").submit()
{
//access the request params and manipulate them here
return true;
}
instead of the following hack which I find to be not that elegant...
I have one link button with a click event. When Clicked I want to change its click event handler to call another method. I am using this :
$('#' + test).bind('click', function () { return LikeComment(test, CommentsWrapper, activityID, textAreaID, btnAddCommentID, addCommentBox, textUnLike, textLike, likeWrapperID); });
The next time i...
hi folks
I use jquery and it gives me error : "Microsoft JScript runtime error: 'url' is null or not an object"
when I use "$.ajax(window.location.href");" inside window.location.href is like this : "http://localaddress/mypage.aspx?id=2"
How I can solve it ?
...
I Followed this article, explaining how to spice up an Internet Explorer COM-Object with jQuery. While the author used Python, I want to do something similar in Powershell. So now I have this code:
function addJQuery ($browser) {
$url="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"
$document = $browser.docume...
Hi, I'm trying to create a simple button manager to select and eventually unselect allready checked img elements which contains CSS class .my_class, why this doesn't work?
var last_selected;
$("img.my_class").click ( function () {
if (last_selected != null) alert ($(this) == last_selected); // returns false everytime
last_select...
hi ..
iam trying to add items to an ul element using jquery.
the items will be added when a user click on Add new item :
here is what i have :
function addFormField() {
var id = document.getElementById("id").value;
if(id<5){
$("#elem ul").append('<li id="listItem_"'+ id +'>Item Added Nr.'+ id +'</li>'...
here is my web service :
public class Header : System.Web.Services.WebService {
public Header () {}
[WebMethod]
public string GetArchive(string PageID)
{
StringBuilder sb = new StringBuilder();
BusinessRules.News news = new BusinessRules.News();
BusinessObject.NewsItemList newsList =
n...
I have a image inside a div when i click on the image i want it to alert me of the parent id that will be "group1"
<div id="group1">
<img class="header_logo_dis" src="test.png">
</div>
$('.header_logo_dis').click(function() {
alert($(this).parent("div:first"));
});
Thank you,
...
I'm trying to build a webpage which contains some tabs, by clicking on a tab, it will use AJAX to load content below the tabs.
The problem: In older versions of Internet Explorer clicking on a tab will result in getting redirected to the tab link, instead of loading the content behind that link via AJAX.
My html code:
<ul id="nav">
...