Parent's Url ? How To...
Jul 23, 2005i have a main page with an iframe inside it
from iframe's code, i need to know the URL of the parent...
i have a main page with an iframe inside it
from iframe's code, i need to know the URL of the parent...
I've been staring at code for way too long. I have a data structure like:
<ul id="mylist">
<li class="active">Stuff <a href="#" class="movethis">Move</a></li>
<li class="active">More Stuff</li>
</ul>
How do I get the li that doesn't have 'a.movethis'?
I would like to create a calculator which can help parents when they calculate their student's school fees on our school's joomla web site. Ive attached our school's fee table.
View 1 Replies View RelatedI'm trying to determine if a named child window has been opened before
opening a new one, however my challenge is that the child window may have
been opened from a parent that no longer exists, therefore there is no
access to the child window handle. Any ideas?
I have the following code. Either of the statementsworks fine in IE8 but not in IE7.
var $parentTabId = $(this).closest("div.column").attr("tabindex");
var $parentTabId = $(this).parents("div.column").attr("tabindex");
I get "undefined" for $parentTabId in IE7. What is the alternative solution which works for both IE7 and IE8 ?
i m trying to make a simple nested menu. my problem is when i click on child li's the parent as well as whole menu toggle to hide. i added a class too but its not helping.
Code HTML4Strict:
<script>
$("ul.xoxo>li").slideToggle("slow")[code].....
I have a table with 5000 rows. In each row I have an html element. myElementList is the list of those elements. Now I need to select all the tr's of these elements. I am using the following code.
[Code]...
This work great in FF. But when I run the same in IE 8. The browser hangs out and a popup messgae appears that propmt for to stop the script.
Is there any way to open the parents to expose a particular node? eg.
$('#my-tree').expandParents('#node-16')
I have the following code
<tr>
<td><input name="test" type="hidden" value="1" /></td>
<td class="icon"><a href="#" class="delete"><img src="images/action_delete.png" /></a></td>
</tr>
And once the delete button is clicked, I need the value from the input.
$(".delete").live("click", function(){
var id = $(this).parent("tr").children("input").attr("value");
$(this).parent("tr").remove();
});
However, I cant seem to select the input's value.
I have this page where one enters statistics (Goals, Assists) and a function that sums the two and enters the value in a third field TP. I first implemented this function in a pop-up window only with the actual stats table, and it worked like a charm. When I tried to use the same functionality in a table that is placed inside another table and another <TD> tag, it does not work as designed. See problem description further down.
JAVASCRIPT CODE
PHP Code:
HTML AND PHP CODE (that is relevant)
PHP Code:
Problem: Instead of filling the TP field of the actual row, it fills all TP fields on the page, that is for all rows.
HOWEVER, if I remove the top row (<td width="817" bgcolor="white" valign="top">), so that the table is not inside that TD, it works fine.
How should I adjust the script to make it work inside the TD?
I have created parent child checkboxes. When one child is selected, then parent of that child, other child of same name and parent of that same name's child will be selected... Now I want if I unchecked any child, then only same name of child and parents should be unchecked or if I unchecked Parent Child, then same name of parent and child will be unchecked.
[Code]...